EXIT - Exit CMD.EXE
Purpose: Return from CMD.EXE.
Format: EXIT [value ]
value : The numeric exit code to return.
Usage
EXIT terminates the current copy of CMD.EXE. Use it to return to an
application when you have "shelled out" to work at the prompt, or to end
an OS/2 command-line session.
To close the session, or to return to the application that started
CMD.EXE, type:
[c:\] exit
If you specify a value, EXIT will return that value to the program that
started CMD.EXE. For example:
[c:\] exit 255
The value is a number you can use to inform the program of some result,
such as the success or failure of a batch file. It can range from 0 -
4,294,967,295. This feature is most useful for systems which use batch
files to automate their operation, such as bulletin boards, or custom
application programs like databases that shell to CMD.EXE to perform
certain tasks.
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs