A batch file is simply a text file that we can create by using unformatting text editor tools. |
e.g. the EDIT command in MS-DOS. |
A batch file must be named with an extension BAT. |
e.g. autoexec.bat, menu. bat |
A batch file is a program which contains MS-DOS commands. Each command used in the batch file must be started from a new line and written in a correct syntax. The syntax of a command is just the same as that you use it at the DOS prompt. |