exit
Exits the command interpreter or the current batch script. Windows commands reference
On Windows, DOS 1 sub-command
Windows
exit [/b] [<exitcode>]
To close the command interpreter, type
exitIdentify/bExits the current batch script instead of exiting Cmd.exe. If executed from outside a batch script, exits Cmd.exe.<exitcode>Specifies a numeric number. If /b is specified, the ERRORLEVEL environment variable is set to that number. If you are quitting the command interpreter, the process exit code is set to that number./?Displays help at the command prompt.Several platforms
Windows
DOS
Exit DOSBox.
Exit DOSBox
EXITIdentify