exit


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 /b to simply exit the batch file but leave cmd.exe running.

exitcode

Specifies a numerical "exit code" number that is passed to the application or process that launched the command prompt or started the batch file.



Windows XP Pocket Reference
Windows XP Pocket Reference
ISBN: 0596004257
EAN: 2147483647
Year: 2001
Pages: 154
Authors: David A. Karp

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net