|
Command Line
Handy Backup Pro allows to perform a number of its operations with use of command line. In this way you can perform Handy Backup Pro commands without opening the program window, either with any appropriate program (like "Far manager", for instance), through created shortcut to Handy Backup Pro agent or through "Run" option from Windows "Start" menu.
Handy Backup Pro command line syntax (keys and corresponding Handy Backup Pro actions) is displayed in the following command line Help window:

You can use either the full key or its contracted form provided in round brackets (e.g., either "-Delete" or "-d" for deleting items).
- help (-?): shows Help window;
- Delete (-d) <items>: deletes specified items;
- DeleteAll (-da): deletes all items;
- Stop (-s) <items>: stops operations with specified items;
- StopAll (-sa): stops operations with all items;
- Execute (-e) <items>: executes operations with specified items;
- ExecuteAll (-ea): execute operations with all items.
Note that the option ExecuteAll cannot be used when backing up on a CD/DVD. Also you cannot backup several items at once when backing up on a CD/DVD, as in this case only the item that has managed to lock the CD/DVD first will be backed up.
Below there are some examples of command line usage.
For example, during your workday you need to periodically backup item named "Backup_work_files". Create the shortcut on your desktop to the location of Handy Backup Pro file hbagent.exe. Right-click on the shortcut icon to get the menu, select "Properties" option, choose "Shortcut" tab and in the "Target" box type the required command and specify item name ( -e "Backup_work_files"). Press "OK" and close the dialog. Then, every time you need to perform backup of the item, just double-click the shortcut icon.

Also, you can perform required operations through "Run" option from Windows "Start" menu. Specify location of Handy Backup Pro file hbagent.exe, then type required command and press "OK".

|