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