Batch files are special files that allow you to run programs, such as NetMailBot,
from the DOS command line. Batch files are useful
for storing sets of commands that are always executed together because you can
simply enter the name of the batch file instead of entering each command individually.
In DOS, batch files end with a .BAT extension.
How to make a batch file to use with NetMailBot
- Open Windows Notepad
- Type NetMailBot.exe and any additional
parameters
you wish to use. For example:
NetMailBot.exe -to to@domain.com -from from@domain.com -subject "subject" -server mail.server.com
- Save the file in the directory where you installed NetMailBot and name it filename.bat.
NOTE: Make sure you change the file type to "All files" on the dropdown directly below the
edit box where you enter the filename:
How to use a batch file with NetMailBot
There are two different ways to run a batch file:
- Open My Computer, navigate to the folder where the batch
file was saved, then double-click the batch file to execute it.
-
Open an MS-DOS prompt and change your
directory to the NetMailBot directory or the directory where your
batch file was saved. Type in the name of the batch file and
press the "Enter/Return" key: