PrivateCrypto Command Line Parameters

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


Product
SafeGuard PrivateCrypto 2.x

Client OS

All




Question

Which command line switches are supported by SafeGuard PrivateCrypto?

Answer

The command line syntax for SafeGuard PrivateCrypto is:

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

Options:

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

-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

-o
output directory (only for decrypt)

-p <password>
password for encrypting/decrypting

-l <password>
password for logfile

-n
hides user interface but displays error messages

-q
hides user interface and error messages

-x
creates a self-extracting executable

-c
compresses data at encryption

-s
deletes source file after encryption/decryption

-t
overwrites existing target files

-h
displays the command line syntax

-w
wipes files; cannot be combined with encryption and decryption

@<file>
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.

Examples:

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

Comments