Home Page
        Orders     Downloads     Support     Contact     Deutsch
ZOC Terminal is a professional SSH Client and Terminal Emulator for Windows and macOS.
PyroBatchFTP Online Help Topic:

Commandline Options

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:
Connect server01, $(name), $(pass)
See also: Macros

/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.
Examples:
PYROBATCHFTP /EXEC:cmdfiles\nightly.cmd
PYROBATCHFTP "/EXEC:d:\my scripts\nightly.cmd" (please note the quotes because of the space characters in the script path)

/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).
Example: PYROBATCHFTP /EXEC:cmdfiles\nightly.cmd /RETRY:2,30

/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.
Example: PYROBATCHFTP /LOGFILE:nightly.log

/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
Example: PYROBATCHFTP /WORKDIR:D:\DATA\PYROBATCH

 
       
/LANG:<code>
 

Force the program to start in a given language. Supported language codes are :GER. for German and :ENGL. for English.
Example: :PyroBatchFTP /LANG:GER.

/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.:  

:/LANG:GER.
:/MIN.
:/WORKDIR:d:\\data.

 
← Back to Table of Contents

 

Downloads
Orders
Contact
Support
Terms of Use
Privacy Policy
pixel