About Batch Programming

batch file is a kind of script file in DOSOS/2 and Windows

It consists of a series of commands to be executed by the command line interpreter, stored in a plain text file.

 A batch file may contain any command the interpreter accepts interactively and use constructs that enable conditional branching and looping within the batch file, such as "if", "for", "goto" and labels.

The filename extension .bat is used in DOS and Windows. Windows NT
 and OS/2 also added .cmd. Batch files for other environments may have different extensions, e.g. .btm in 4DOS4OS2 and 4NT related shells.

Comments