EXIT

Print Topic  Return to Overview  Previous Topic  Next Topic 
Purpose:Exit the current TCC session.

 

Format:EXIT [/B] [value ]

 

value        The numeric exit code to return.

 

/B (exit from batch file)

 

Usage:

 

EXIT terminates the current copy of the command processor.

 

To close the session, or to return to the application that started the command processor, type:

 

exit

 

If you specify a value, EXIT will return that value to the program that started the command processor. For example:

 

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.

 

Option:

 

/BExit the current batch file, rather than the shell. This switch is for compatibility with CMD.EXE. The CANCEL and QUIT commands are generally more flexible for use in batch files.

Topic "exit.htm" last edited 1/27/2008. ©2008  JP Software, Inc.
Keywords: EXIT