Command line switches of Folder Guard.

Command line switches supported by the file FGKey.exe

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

/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.

/PROTECT
/ENABLE
Either of these switches enables the protection of your computer according to the settings your have previously set up with Folder Guard. 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.

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

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

/LOCKALL
This switch locks all previously unlocked files and folders, for which you have previously set up the unlocking 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.

/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.

/UNLOAD
This switch disables the protection, if necessary, 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.

/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 and /UNLOCK switches require the unlocking password for the file or folder you want to lock or unlock, while other switches expect the Master Password.

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.

/IMPORTWS
Use this switch to import the working set of Folder Guard.

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\FGKey.exe" /PROTECT
This command will prompt you for the Master Password, and then enable the protection of your computer.

"C:\Program Files\Folder Guard\FGKey.exe" /UNLOCK:"C:\My Private Files" /PASSWORD:green
This command will unlock the folder C:\My Private Files without prompting your for the password (because you have already entered the correct password in the command line).

"C:\Program Files\Folder Guard\FGKey.exe" /UNLOAD /PASSWORD:Apple
This command will unload the driver of Folder Guard from the computer's memory without prompting your 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.


Protecting files in the "safe mode" Emergency Recovery Utility Copyright © 2008, WinAbility® Software Corporation. All rights reserved.