AnatomyOf

Anatomy of a Batch file

example.bat
1@echo off
2REM A minimal batch script. No dependencies, no npm install, no regrets.
3
4set GREETING=Hello
5
6echo %GREETING%, %1!
7
8pause
9exit /b 0
Batch files are script files for the Windows command interpreter (cmd.exe), used to automate tasks and run sequences of commands.