Batch file and batch job

Updated: 06/16/2017 by Computer Hope

A batch file or batch job may refer to any of the following:

Batch file1. A batch file or batch job is a collection, or list, of commands that are processed in sequence often without requiring user input or intervention. With a computer running a Microsoft operating system such as Windows, a batch file is stored as a file with a .bat file extension. Other operating systems may define a batch job in a shell script, containing a list of commands to be executed one after the other.

Batch files are often used to help load programs, run multiple processes at a time, and perform common or repetitive tasks. For example, a batch job could be used to back up files, process log files, run a series of calculations or diagnostics, or any other job that require multiple commands to be run. A big advantage of a batch job is that it can be started at any time and left alone until they are completed, freeing up the time of one or more people to perform other tasks.

2. The batch command is a recovery console command that executes a series of commands. See the batch command page for full information on this command.

Autoexec.bat, Operating system terms, Programming terms