- The script must have the extension .bat or .cmd
- The commands are case-insensitive. You could either use
ECHOorecho
titleset the window name for the BAT fileechoprints a statementecho offusually the first statement, this ensures the program won't show the commandspausepauses execution and outputs "press any key to continue...", once the user press a key the execution of the script continues::,remcomments the line@[command]the at-sign hides the echo of a batch command
echo off
title My first batch script
echo Hello World