PrivateCrypto Command Line Parameters

  • Article ID: 103915
  • Rating:
  • 1 customers rated this article 6.0 out of 6
  • Updated: 25 Jun 2009

SafeGuard PrivateCrypto 2.x

Client OS



Which command line switches are supported by SafeGuard PrivateCrypto?


The command line syntax for SafeGuard PrivateCrypto is:

pcrypt [path and name of source file] [opti-ons]


-e <archive>
creates the given encryption archive. If no archive is given, the name of the first file is used (with extension changed to

-d <archive>
decrypts the given encryption archive

-a <archive>
adds the given files to an existing archive. If the target archive does not already exist, it is created

output directory (only for decrypt)

-p <password>
password for encrypting/decrypting

-l <password>
password for logfile

hides user interface but displays error messages

hides user interface and error messages

creates a self-extracting executable

compresses data at encryption

deletes source file after encryption/decryption

overwrites existing target files

displays the command line syntax

wipes files; cannot be combined with encryption and decryption

File names starting with "@" are interpreted as control files that may contain additional file names and options. This allows passing large command line strings that normally would not be possible because of command line size restrictions.


pcrypt utimaco.txt -e -oC:\Encrypted\Utimaco_Enc.txt -p12345678 -n -s

The file utimaco.txt is encrypted and stored as Utimaco_Enc.txt.uti (the file extension .uti is added auto-matically)
in the directory C:\Encrypted. The password to decrypt the file is 12345678. Since -n was specified no user interface is displayed
(e.g. for entering a password). The source file located in the same directory from where pcrypt was called is deleted after encryption (-s).

Creating an archive with two files:

Pcrypt test.txt test2.txt -etest.uti -psecret

Adding a third file and a directory including files (recursively) to the above archive:

Pcrypt test3.txt c:\winnt -atest.uti -psecret

Extracting an archive:

Pcrypt -dtest.uti -psecret

Extracting some files from an archive:

Pcrypt -dtest.uti test.txt test2.txt -psecret

Keywords: Private Crypto

If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent