This URL is just like the other Quick Reference URL, except that it says "bat" in front of the filename, which is the file extension for batch files.

REM - remark

IF - present a condition

ECHO - show message or toggle prompt echo

SHIFT - shift positions of command line variables

SET - set environment variables

CALL - call another batch program from within this one

PAUSE - show a message and pause until the user presses a key

CHOICE - pause and give the user a choice

@[command] - execute command with the echo off

[command] %[variable]% - use environment variable

[command] %[1/2/3/etc.] - use command line variable

 

Proceed: <-- Quick Reference Guide   --> Final Notes
 

Back to the Hub