/BATCH |
Top Previous Next |
If you need to execute a lot of commands many times, the /BATCH command is a life saver. This command allows the execution of multiple commands defined in a text file; each command being placed in one line.
Syntax
/BATCH:<filepath>
Example
If you have to check your account and send queued mail from it, you can create a batch file called C:\The Bat!\CheckMail.BAT which contains three lines:
/CHECKMyAccount /SENDMyAccount /SMARTEXIT
To execute this batch file from a command line, you can run The Bat! with the command line parameter /BATCH:"C:\The Bat!\CheckMail.BAT"
Note: If a parameter value contains space characters, enclose it in quotation marks. If a value contains quotation marks, you should use single quotes (" ' " characters). |