= Batch = [[Windows|Windows]] is to '''batch scripting''' as [[Linux]] is to [[Shell|shell scripting]]. In any modern Windows operating system, a batch file is interpreted by `cmd.exe`. <> ---- == Example == {{{ @ECHO OFF ECHO Hello World! PAUSE }}} The file name must end in `.bat` or `.cmd` (case-insensitive). Executing this will open a terminal window and print: {{{ Hello World! Press any key to continue . . . }}} The program will wait for any keyboard input and then exit. ---- == Language == * [[Batch/BuiltinCommands|Builtin commands]] * [[Batch/BundledCommands|Bundled commands]] * [[Batch/Expansion|Expansion]] * [[Batch/Logic|Logic]] * [[Batch/Looping|Looping]] * [[Batch/Pipeline|Pipelines]] * [[Batch/Quoting|Quoting]] * [[Batch/Redirection|Redirection]] * [[Batch/ShellVariables|Shell variables]] * [[Batch/Variables|Variables]] ---- CategoryRicottone