Home
AeroTags HTML Password Protector On-line help
Working with the program
Introduction
One-click protection
Working with the program
Command line support
Registration
Why to register?
How to register?
I lost my serial code...
Support
How to reach us
Technical support
Upgrade the program
More software title

Command line parameters

AHPP provides a unique feature to protect the files without Windows. You can also automate often used program options. That feature is command line support. Using the command line can save your time, but it is optional to use.

There are three ways to use command lines

Command line syntax is shown below:

AHPP.EXE filename

AHPP.EXE [--list filename] [--file filename] [--password|--PASSWORD pass] [--random] [--style stylename] [--additional:[M,P,S,B]] [--quiet]

AHPP.EXE [-l filename] [-f filename] [-p|-P pass] [-r] [-s stylename] [-a:[M,P,S,B]] [-q]

The first way the most commonly used. Just run AHPP with the filename to be protected as the parameter. You will then see the One-click protection window.

The second and third ways allow you to set parameters used by AHPP. It can be used to automate your work if you are using the same password for each page and the file types are the same. See the table below for more details.

Parameter Description
--list filename
-l filaname
Loads a list of files from filename to the queue. Acts like File|Load list
--file filename
-f filaname
Adds a file filename to the list of files to protect. Acts like Add... button. You may use as many --file parameters as you need.
--password pass
-p pass
Fills the password field with pass. It also unchecks the box Hide typing and makes the password chars visible as they are typed. To hide password chars use --PASSWORD options (with all caps)
--PASSWORD pass
-P pass
Acts like --password but checks the box Hide typing, i. e. makes the password chars invisible
--random
-r
Generates a random password. Acts like Generate random password button
--style stylename
-s stylename
Chooses a style for the logon page stylename. The specified style name must exists, otherwise nothing will happen and the default style will remain.
--additional:[M,P,S,B]
-a:[M,P,S,B]
Checks desired boxes in additional protection options:
M: checks Disable right mouse button and context popup menu
P: checks Disable page printing
S: checks Disable text selection on page
B: checks Disable status bar text
--quiet
-q
If all required parameters are present in the command line then AHPP will launch the protection instantly and will close itself after finish. Program's window will not be shown.

Examples:

1. Launch AHPP with One click protection window (the fastest way to protect a single file):

AHPP.EXE c:\www\index.html
AHPP.EXE "c:\Documents and Settings\Alisa\My web site\Seek a boy.htm"
2. Launch AHPP and add three files to the list or files to process:
AHPP.EXE --file c:\www\index.html -f "c:\My web files\Test site\exitpage.htm" --file c:\readme.txt
3. Launch AHPP, load a list of files, setup a password and choose options to block text selection and printing
AHPP.EXE -l c:\www\_spec\flist.txt -P MyPass -a:SP
4. CRAZY! Never use it! Launch AHPP, load a list of files, setup a random(!) password, choose all protection options and force the protection without warnings:
AHPP.EXE --list c:\www\_spec\flist.txt --random -a:SPMB --quiet
Working with AHPP
Lock web pages with a one click
Contact us