Table of Contents
About
The exit command quits:
the
CMD.EXE program (command interpreter)
or the current
batch script
.
Syntax
EXIT [/B] [exitCode]
where:
/B specifies to exit the current batch script ant not CMD.EXE.
exitCode specifies a numeric number. If /B is specified, sets
ERRORLEVEL
that number. If quitting CMD.EXE, sets the process exit code with that number.