EXIT


exit

or

exit          {<i>}         

Function

Close a suspended batch macro command file.

 

or

 

Exit from a batch macro command file.

Parameters

<i>

The number of "return levels". If omitted, the value 1 is assumed, i.e. a return to the command file which called the current one.

Examples

exit

exit 10

Notes

This command is used after a command file has been interrupted during execution (via !), and when the user no longer needs to continue its execution.( Interactive Mode Only! )

 

An EXIT at the last line of a command file is unnecessary, because an exit will be assumed automatically.

See also

SHTEL, break, pause, do, call