|
Command Line Processing

Private Encryptor has many command line options available.
The syntax for Private Encryptor is:
"Encryptor.exe [ACTIONS] [/L] [/F:filename] [/O:path] [/P:path] [/K:key] [/T:type] [SWITCHES]"
Actions:
"/?": Brings up a quick reference to what command line options are available.
"/E": Encrypts the specified file or folder.
"/D": Decrypts the specified file or folder.
"/S": Shreds the specified file or folder.
“/X”: Makes a Self Decrypting Executable from the specified file.
Note: Only one action must be specified.
File Related:
"/L": Switch specifying that the file contains a list of files. Note: The list should contain the complete path of every file to be encrypted/decrypted.
"/F:filename": Specifies the file or folder to perform the action on. (This option is required to run
Encryptor from the command line.)
"/K:key": The key to encrypt or decrypt with. Note that the key is not required when using the file shredder mode ("/S").
“/T:type”: The type of encryption to use when performing an encryption operation. An encryption type is specified by the first word of its name as it appears in the Encryption Details Selection Bar. Valid encryption types include blowfish, des, fast, mars, media,
Rijndael, Serpent, Skipjack, triple, and Twofish. Of course, you can only use an encryption type if it is installed and can be selected in the Encryption Details Selection Bar. Note that this flag is optional. If you do not specify an encryption type, then the current selection from the Encryption Details Selection Bar is used.
“/O:path”: Specifies the output file or path when using the /E or /X actions. If you are using the /E action and provide a folder name, then the encrypted file will be put in that folder. If you provide a filename instead of a folder, then the encrypted file will be given this name, subject to the behavior of the /NORENAME and /PIC switches. If you are using the /X action and provide a folder name, then the resulting Self Decrypting Executable will be put in that folder. If you provide a filename, then that will be the name of the Self Decrypting Executable. Note that the provided filename must have a .EXE extension. This flag is also optional. If you do not specify an output filename when using the /X action, the default name of the Self Decrypting Executable will be the original filename plus a .EXE extension.
“/P:path”: If you are using the /PIC switch, then this flag specifies the location of pictures to be used for the Hide In Picture encryption mode. This flag is optional. If no picture location is provided, the current picture directory from the Hide In Picture Settings will be used.
Optional Switches:
"/NORENAME": Turns off stealth mode. By default file names will be renamed using stealth mode.
"/REMOVELIST": Deletes the file-list file when done processing all files from the specified list. Note: Requires "/L" to work
"/MESSAGE": Turns on all error messages, which are off by default.
“/COMPRESS”: Enables compression for encryption operations. Compression is turned off by default
“/Mx”: Sets the encryption level to use when encrypting files. x must be a number from 0 to 3, which corresponds to the encryption level you wish to use. /M0 uses the Beginner Level while /M3 selects the Advanced Level. See Encryption Settings for more information on the different encryption levels.
“/PIC”: Uses the Hide In Picture mode to encrypt files. Note that the /NORENAME switch has no effect when using Hide In Picture mode. Pictures will automatically be chosen from the picture directory. There is no way to manually select a picture file.
“Px”: Use this switch in conjunction with the /PIC switch to specify which Encrypted File Name mode to use. x must be either O, R, or P. O uses the Maintain Original Filename mode, R is Random Filename, and P is the Original Picture Filename mode. Maintain Original Filename is the default. See Hide In Picture mode for details on what this setting means.
Examples:
- "Encryptor.exe /E /F:C:\My Documents\Secret.doc /K:12345 /NORENAME"
This example encrypts the file "Secret.doc". The encryption key is 12345 and the file will not be renamed when encrypted.
- "Encryptor.exe /D /L /F:C:\Lists\important.lst /K:12345 /REMOVELIST"
This example decrypts all files specified in the "important.lst" list-file. When everything is done processing, the list-file will be deleted.
- "Encryptor.exe /S /L /F:C:\Lists\todelete.lst /NOMESSAGE
/REMOVELIST"
This example shreds all files specified in the "todelete.lst" list-file. No messages will be displayed if any errors are encountered. When all processing is done, "todelete.lst" will be deleted.
Go Back |

|
|