exit
Typing exit
has the same effect as closing the
command prompt window with the [x]
button.
exit
accepts the following options:
exit [/b] [exitcode
]
Option |
Description |
---|---|
/b |
If exit is used from within a batch file, it will close the current
command prompt window. Specify |
|
Specifies a numerical "exit code" number that is passed to the application or process that launched the command prompt or started the batch file. |