or download this
Quits the CMD.EXE program (command interpreter) or the current batch
script.
...
exitCode specifies a numeric number. if /B is specified, sets
ERRORLEVEL that number. If quitting CMD.EXE, sets the p
+rocess
exit code with that number.