A batch file is a text file containing a series of commands that the operating system will carry out for you, one at a time. A batch file is a batches (bundles or packages) of DOS commands into a single file. MS-DOS batch files consist of the normal operating system commands (e.g. DIR, DEL, COPY and MKDIR) together with some extra commands such as IF, FOR, GOTO, SHIFT and PAUSE that provide conditional control of execution and enable PARAMETERS to be passed so that the same batch file can be used in many different contexts. Under UNIX, batch files are called SHELL SCRIPTS, and are written in a c-like scripting language.