Purpose:Exit the current TCC session


Format:EXIT [/B] [value ]


value        The numeric exit code to return.


/B (exit from batch file)




EXIT terminates the current copy of the command processor.


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.




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




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


exit 255




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