Scripts and Batch Files

The sacmd.cmd (Windows) or sacmd.sh (Unix/Linux) program includes the file command that reads commands from a file, letting you batch-process a group of commands.

You can add comments to your file by preceding the comment with two forward slashes (//) or the sharp sign (#). You can use spaces or tabs in front of the comment character (// or #), but otherwise it must be the first character in a line.

Lines that contain only spaces or tabs are ignored. You can add clarity to your script or batch file by using blank lines to separate different sections of your file.