If you use a series of commands frequently or you must enter many commands to complete a task, consider script or batch file automation.
You can run a script file containing ESSCMD commands from the operating system command line or from an operating system batch file. A script has a .SCR extension.
A batch file is an operating system file that calls multiple ESSCMD scripts, and may include operating system commands. You can use a batch file to run multiple sessions of ESSCMD. On Windows systems, batch files have .BAT extensions.
Note: | On UNIX, a batch file is a shell script. A shell script usually has the file extension .sh (Bourne or Korn shell) or .csh (C shell). |
When you run a script or batch file, ESSCMD executes the commands in order until the end of the file.