Dos - Exit

About

The exit command quits:

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.

Powered by ComboStrap