Batch and command files, or "scripts", are plain text files that contain a series of commands for a command processor. They are processed in sequence when the file is executed.

Batch and command files are executed by a command processor. Which one is used depends on the file extension:

Batch and command files are useful to automate tasks. For example, if you find yourself entering the same sequence of commands over and over at a command prompt, you can put that sequence in a batch or command file and execute that script instead to save yourself time. You can create such files with any text editor, for example, the &os2; &eexe;.

Note that once you have created a batch or command file, you can also start it from the Workplace Shell. You can also create &link_progobjs; for batch or command files.

For additional information, select from the list below: