To execute Encryption Protection through a command
line |
Encryption Protection can be executed by a command line
to facilitate the periodical tasks of securing files with
a given key-phrase. This way, a pre-determined working
process of either encrypting, decrypting or shredding
a file can be done by a single click on a button or can
be initiated by another application. |
If you don't want to feed another application
with a Encryption Protection-command-line, we recommend to create a
simple shortcut on your desktop that will carry and initiate
it. What you need to do is, go to your Encryption Protection installation
folder (probably in c:\program files\Encryption Protection 60), right
click the Encryption Protection executable file and choose 'create shortcut'.
Cut that newly created shortcut out of the Encryption Protection application
folder and paste it onto your desktop. Go to your desktop,
right click your shortcut, open the 'Properties' tab,
look for the path of the shortcut to the actual executable
file in your Encryption Protection application folder and put a command
line right next to it (keep one space in between though).
|
If you are looking to execute the File
Shredder through a command line, scroll this page further
down to read on. |
The following elements are needed in this
very order to form a command line to either encode or
decode: |
Start with the path to
the executable file of the Encryption Protection application
in its installation folder. Probably it will be: "c:\program
files\Encryption Protection 6\Encryption Protection.exe".
|
encode/decode= choose
either one of the terms. |
src= This is the path
of the source file you intend to either encode or decode.
|
dest= This is the path
of the destination file the results of this task will
be saved in. If you are encoding some data, the destination
file will need to have either a .hta, .html or a .shy-extension.
If you are decoding a file, the destination file will
need to have exact the same extension it had before it
was encoded. |
key= This is the path
of to the file on your computer containing your key-phrase.
All key-phrases saved from within the Encryption Protection
application have a double extension. A key-phrase named
"mykeyphrase" will be saved on your computer
as "mykeyphrase.key.txt". You will need include
the double-extension of your key-phrase into this path.
However, if you saved your key with a notepad, it has
the .txt-extension only. |
Encryption Protection totally obeys to your command line,
it does not correct any wrongly specified extensions.
When you are naming the path of a file to be decrypted
in the src-parameter, you need to recall the original
extension of that file it had before it was encrypted.
When you are specifying your destination file (in which
the decrypted picture is to be saved in) to be 'myplainpicture.gif'
even though it was originally 'myplainpicture.jpg', the
actual decrypting process will flow off perfectly, but
you will not be able to view your picture because of its
wrong extension. |
Example of a Command Line to
either Encode or Decode:
Say you intend to encrypt an invoice written on MS Word
called 'myinvoice' over and over again, and at every time
you intend to use a key-phrase-file previously created
and saved by Encryption Protection called 'mykeyphrase', and you want
to have the encrypted file named 'securedinvoice' and
have it placed on your root drive, use the following command
line: |
c:\program files\Encryption Protection
60\Encryption Protection.exe encode
src=c:\myinvoice.doc dest=c:\securedinvoice.shy
key=c:\mykeyphrase.key.txt |
If this time, you intend to decrypt the
same invoice over and over again using the same key-phrase,
the following command line could look like this: |
c:\program files\Encryption Protection
50\Encryption Protection.exe decode
src=c:\securedinvoice.shy dest=c:\myinvoice.doc
key=c:\mypassphrase.key.txt |
Once all parameters are perfectly set,
click OK and close your shortcut. From now on, all you'll
need to do to initialize the process of encryption of
this document is to click on your icon on the desktop.
Of course you can create as many shortcuts as you like,
each one of them assigned with a different task. |
Example of a Command Line to
execute the File Shredder:
Say you intend to shred 'myinvoice' on your root drive,
use the following command line (no parenthesis between
"shred" and the path to the file to be shredded):
|
c:\program files\Encryption
Protection 50\Encryption Protection.exe shred c:\myinvoice.doc
|