CLS: Clears the screen
CLS
EXIT: Exits the command-line process when the batch file terminates.
EXIT
BREAK: When turned on, batch file will stop if the user presses < Ctrl >-< Break > when turned off, the script will continue until done.
BREAK
Options: ON / OFF
ON
OFF
Example: BREAK=OFF
BREAK=OFF
CALL: Calls another batch file or another program and then returns control when done.
CALL
CHOICE: Allows user input. Default is Y or N. You may make your own choice with the /C: switch.
CHOICE
Example: CHOICE /C:123
CHOICE /C:123
Last updated 6 years ago
Was this helpful?