Name
exit
Synopsis
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. |
Get Windows XP Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.