Command line switches supported by Folder Guard

You can control the operation of Folder Guard by running the file FG32.exe (or FG64.exe if you use Windows x64) with the command line switches described below:

/PAUSE
/UNPROTECT
/DISABLE


Either of these switches disables the protection of your computer. You can also specify the /PASSWORD:master-password switch on the same command line, to suppress the prompt for the Master Password that this command would otherwise display.

/RESUME
/PROTECT
/ENABLE


Either of these switches enables the protection of your computer according to the settings you have previously set up with Folder Guard.

/TOGGLE

This switch toggles the protection. That is, if the protection is paused at the time this switch is used, then the protection is resumed. If, however, the protection is already in effect, it pauses it. You can also specify the /PASSWORD:master-password switch on the same command line, to suppress the prompt for the Master Password that this command would otherwise display when pausing the protection.

/UNLOCK:path-to-folder

This switch unlocks the specified folder, if you have previously set up a password for it. If the path contains spaces, it must be enclosed in the double-quotes. You can also specify the /PASSWORD:folder-password switch on the same command line, to suppress the prompt for the folder password that this command would otherwise display.

/LOCK:path-to-folder

This switch locks the specified folder, if you have previously set up a password for it. If the path contains spaces, it must be enclosed in the double-quotes.

/TOGGLE:path-to-folder

This switch unlocks or locks the specified folder, depending on whether the folder is locked or unlocked at the time this command is used. Note that you must have previously set up a password for this folder in order to be able to lock or unlock it. If the path contains spaces, it must be enclosed in the double-quotes. You can also specify the /PASSWORD:folder-password switch on the same command line, to suppress the prompt for the folder password that this command would otherwise display when unlocking the folder.

/LOCKALL

This switch locks all currently unlocked folders, if any, for which you have previously set up the folder passwords. You can also specify the /PASSWORD:master-password switch on the same command line, to suppress the prompt for the Master Password that this command would otherwise display.

/UNLOAD

This switch deactivates the protection, and then unloads the driver of Folder Guard from the computer memory. You can also specify the /PASSWORD:master-password switch on the same command line, to suppress the prompt for the Master Password that this command would otherwise display. Note that in order for this operation to succeed, it must be launched "as administrator".

CAUTION: unloading the driver is an unsafe operation that may crash Windows with the blue screen error; use this switch only if absolutely necessary. It's safer to just deactivate the protection using the Deactivate protection and Exit command of Folder Guard application.

/LOAD

This switch loads the driver of Folder Guard into the computer memory without enabling the protection. You can also specify the /PASSWORD:master-password switch on the same command line, to suppress the prompt for the Master Password that this command would otherwise display. Note that in order for this operation to succeed, it must be launched "as administrator".

/PASSWORD:the-password

This switch can be used in addition to any switch listed above, to supply the password required by the operation. If the password contains spaces, it must be enclosed in the double quotes. Note that /LOCK:, /UNLOCK:, and /TOGGLE: switches require the password for the folder you want to lock or unlock, while other switches expect the Master Password of Folder Guard.

Command line switches supported by the file Setup.exe

You can also use the following command line switches with the file Setup.exe (or Setup64.exe if you use Windows x64) of Folder Guard:

/U

Use this switch to uninstall Folder Guard from your computer.

Note that the Setup.exe file does NOT support the /PASSWORD switch.

Examples

Suppose that you have installed Folder Guard in the folder C:\Program Files\Folder Guard, and that you have chosen the word Apple as the Master Password of Folder Guard. Also, you have used Folder Guard to restrict access to the folder C:\My Private Files, and you have set up the word green as the unlocking password for this folder. You can use the following commands to perform the following actions:

"C:\Program Files\Folder Guard\FG32.exe" /PROTECT

This command will prompt you for the Master Password, and then enable the protection of your computer.

"C:\Program Files\Folder Guard\FG32.exe" /UNLOCK:"C:\My Private Files" /PASSWORD:green

This command will unlock the folder C:\My Private Files without prompting you for the password (because you have already entered the correct password in the command line).

"C:\Program Files\Folder Guard\FG32.exe" /UNLOAD /PASSWORD:Apple

This command will unload the driver of Folder Guard from the computer's memory without prompting you for the password (because you have already entered the correct password in the command line).

"C:\Program Files\Folder Guard\Setup.exe" /U

This command will start uninstalling Folder Guard from your computer. It will prompt you to enter the Master Password before continuing.


Context menu Settings Copyright © 2017, WinAbility® Software Corporation. All rights reserved.