batch file

(redirected from Batch language)

batch file

(operating system)
(Or script) A text file containing operating system commands which are executed automatically by the command-line interpreter. In Unix, this is called a "shell script" since it is the Unix shell which includes the command-line interpreter. Batch files can be used as a simple way to combine existing commands into new commands.

autoexec.bat is the best known example of an MS-DOS batch file.
This article is provided by FOLDOC - Free Online Dictionary of Computing (

batch file

(1) A file containing data that is processed or transmitted from beginning to end.

(2) A file of operating system commands that are carried out one after the other. The operating system interprets the commands and turns them into machine language executed by the CPU.

Batch files are widely used to perform a series of routine file management operations such as making backups and launching applications. In the preparation of each monthly version of this encyclopedia, several Windows batch files are used to combine and aggregate files, launch conversion programs and copy the newly created versions into more than two dozen folders for deployment. See operating system.

.BAT, .CMD or .SH File Extensions
Windows batch files use a .BAT or .CMD file extension, the latter officially called a Windows "command script." In the Mac and Unix/Linux worlds, batch files are "shell scripts" and use a .SH extension. See batch file abc's, cmd abc's, PowerShell, command line and shell script.
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
References in periodicals archive ?
Includes an appendix on stamp batch language, tutorial data sets, references, and author and subject indices.
It then increases in complexity, advancing to modules for financial and time-based data and includes tutorials on graphics, graph editing, data input/output and data transformation, and provides reference material on applying features on statistics, file formats, algebraic language, batch language, graphics, and data management.
Note: While this review was awaiting the light of publication, Cytel introduced version 7, that includes a number of significant upgrades: correlation tests across a single (as opposed to bi-) variable, speedier batch language, p-values for the trend test in multiple outcomes, estimates of conditional maximum likelihood of trend parameters in correlated data, clustered response tests for correlated significance, and improved visualization and automation functions.