When starting the program you can provide the following parameters in the command line:
/D:<name>=<value> | |
Combined with an /EXEC parameters, a macro is defined from the command line, which can then be used in the script in the form $(<name>) (case sensitive).
E.g. if you call PyroBatchFTP /D:name=login001 /D:pass=secret then you can use
these macros in a script command like this: | |
/EXEC:<filename> | |
Automatically run a PyroBatchFTP batch file after the program was loaded. If you
use this option, the command file should contain a TerminateAfterScript
command to terminate PyroBatchFTP when finished. | |
/EXEC:NOSCHEDULE | |
This flags runs PyroBatchFTP but disables the scheduler, which may be useful
if you are already running an instance that has the scheduler active.
| |
/EXCLUSIVE | |
With this paramter PyroBatchFTP will only start if no other instance of the
program is running (neither manually started, nor as a service). Otherwise
PyroBatchFTP will just terminate with an exit code of 9.
| |
/RETRY:<n>[,<s>] | |
A retry count for use in conjunction with the /EXEC paramter. If the script
execution fails (script exits with error) PyroBatchFTP will repeat the
execution <n> more times after a deay of <s> seconds (or 60 seconds if <s>
is omitted). | |
/TERMINATEAFTERSCRIPT | |
This parameter will terminate HLPPROGRAMENAME after script completion. It
is equivalent to using the TerminateAfterScript 1 command in a script file.
| |
/LOGFILE:<filename> | |
Log the results of running a batch file in a different file. | |
/NOICON | |
Will start the program without the icon in the taskbar. Together with /MIN
it will be completely invisible.
| |
/NOEXPIRE | |
Suppresses the startup message, that newer versions might be available.
| |
/WORKDIR:<directory> | |
Supply a different directory to store/load the program's working files.
You must supply an absolute path. The directory must contain the following files:
pyrobatch.cfg |
/LANG:<code> | |
Force the program to start in a given language. Supported language codes
are :GER. for German and :ENGL. for English. | |
/MIN | |
Start the program with the window minimized.
| |
/STARTUPDELAY:<sec> | |
Waits the given number of seconds before starting the program. |
Alternately, you can specify command line options in Unix style, eg.
:PyroBatchFTP -min -lang ger.
Instead of specifing the parameters on the command line you can also put them (one per line, backslash must be entered twice) into a file called :commandline.ini. in the program directory, e.g.:
← Back to Table of Contents