What is a Batch File?

A batch file is a text file containing commands that are to be executed by the command interpreter. When this type of file runs the shell program reads it line-by-line.