Interrupting a Batch File

You can usually interrupt a batch file by pressing Ctrl-C or Ctrl-Break. Whether and when these keystrokes are recognized will depend on whether TCC-RT or an application program is running, how the application, if any, was written, whether BREAK is ON or OFF, and whether the ON BREAK command is in use.


If TCC-RT detects a Ctrl-C or Ctrl-Break when ON BREAK is not in use, it displays a prompt, for example:


Cancel batch job C:\CHARGE.BTM ? (Y/N/A) :


Enter N to continue, Y to terminate the current batch file and continue with any batch file which called it, or A to end all batch file processing regardless of the batch file nesting level. Answering Y is similar to the QUIT command; answering A is similar to the CANCEL command.