Global Information Lookup Global Information

Batch file information


Batch file
Filename extensions.bat, .cmd, .btm
Internet media type
  • application/bat
  • application/x-bat
  • application/x-msdos-program
  • text/plain
Type of formatScripting
Container forScripts

A batch file is a script file in DOS, OS/2 and Microsoft 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, and GOTO labels. The term "batch" is from batch processing, meaning "non-interactive execution", though a batch file might not process a batch of multiple data.

Similar to Job Control Language (JCL), DCL and other systems on mainframe and minicomputer systems, batch files were added to ease the work required for certain regular tasks by allowing the user to set up a script to automate them. When a batch file is run, the shell program (usually COMMAND.COM or cmd.exe) reads the file and executes its commands, normally line-by-line.[1] Unix-like operating systems, such as Linux, have a similar, but more flexible, type of file called a shell script.[2]

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 4DOS, 4OS2 and 4NT related shells.

The detailed handling of batch files has changed significantly between versions. Some of the detail in this article applies to all batch files, while other details apply only to certain versions.

  1. ^ Cite error: The named reference Microsoft_758944 was invoked but never defined (see the help page).
  2. ^ Cite error: The named reference Stocker was invoked but never defined (see the help page).

and 22 Related for: Batch file information

Request time (Page generated in 0.8746 seconds.)

Batch file

Last Update:

A batch file is a script file in DOS, OS/2 and Microsoft Windows. It consists of a series of commands to be executed by the command-line interpreter,...

Word Count : 4183

Batch processing

Last Update:

Computerized batch processing is a method of running software programs called jobs in batches automatically. While users are required to submit the jobs...

Word Count : 1951

Batch

Last Update:

execution Batch Enhancer, an applet launched by Norton Utilities to graphically enhance the presentation of batch files Batch file, a text file containing...

Word Count : 410

Pushd and popd

Last Update:

C:\Users\root> @echo off rem This batch file deletes all .txt files in a specified directory pushd %1 del *.txt popd echo All text files deleted in the %1 directory...

Word Count : 526

COM file

Last Update:

a filename extension for text files containing commands to be issued to the operating system (similar to a batch file). With the introduction of Digital...

Word Count : 1902

4DOS

Last Update:

interactive debugger for batch files A mechanism for creating, maintaining and displaying file descriptions Configuration stored in an INI file Support for the...

Word Count : 1251

Bad command or file name

Last Update:

Because this word must be the name of an internal command, executable file or batch file, the error message provided an accurate description of the problem...

Word Count : 267

List of DOS commands

Last Update:

name to a built-in command or to the name of an executable program file or batch file on disk. If no match is found, an error message is printed, and the...

Word Count : 6080

Configuration file

Last Update:

INI-file style format. There was also a standard plain text batch file named AUTOEXEC.BAT that ran a series of commands on boot. Both these files were...

Word Count : 1305

DOS

Last Update:

the filename extension .BAT). Each line of a batch file is interpreted as a program to run. Batch files can also make use of internal commands, such as...

Word Count : 6456

List of file formats

Last Update:

file BAS – QBasic & QuickBASIC BTM – Batch file CLASS – Compiled Java binary CLJS – ClojureScript CMD – Batch file Coffee – CoffeeScript C – C CIA – Nintendo...

Word Count : 13924

Batch renaming

Last Update:

Batch renaming is a form of batch processing used to rename multiple computer files and folders in an automated fashion, in order to save time and reduce...

Word Count : 672

List of programming languages

Last Update:

AutoLISP / Visual LISP Averest AWK Axum B Babbage Ballerina Bash BASIC Batch file (Windows/MS-DOS) bc (basic calculator) BCPL BeanShell BETA BLISS Blockly...

Word Count : 1326

Utility software

Last Update:

for OS/360 and successors List of Unix commands List of KDE utilities Batch file Shell script System software Parsons, June Jamrich; Oja, Dan (2013). New...

Word Count : 1003

FastPictureViewer

Last Update:

Ability to create and use preset renaming templates. Batch file mark/delete function. Batch file management functions (copy, move, delete, save-for-web)...

Word Count : 2350

Shell script

Last Update:

operating system uses a particular name for these functions including batch files (MSDos-Win95 stream, OS/2), command procedures (VMS), and shell scripts...

Word Count : 2981

ZAP File

Last Update:

file and runs a quiet or silent install from a Batch File command. However, running an Executable file (such as setup.exe) often bypasses quiet, passive...

Word Count : 600

Percent sign

Last Update:

stand for the first, second,... parameters of a batch file. %0 stands for the specification of the batch file itself as typed on the command line. The % sign...

Word Count : 2125

CMD file

Last Update:

Multiuser DOS, System Manager, REAL/32, SCP1700, CP/K and K8918-OS Batch files with .cmd filename extension in OS/2, Windows NT, 4OS2, 4NT and Take...

Word Count : 102

Backslash

Last Update:

and "/" instead of "-" as the switch character. For transporting of batch files across machines, Microsoft encourages the use of "\" and "/" respectively...

Word Count : 2111

Server Message Block

Last Update:

locks. Batch Locks Batch OpLocks were created originally to support a particular behavior of DOS batch file execution operation in which the file is opened...

Word Count : 5650

Environment variable

Last Update:

Similarly, changing or removing a variable's value inside a DOS or Windows batch file will change the variable for the duration of COMMAND.COMor CMD.EXE's existence...

Word Count : 10249

PDF Search Engine © AllGlobal.net