How to? ctrl-c does not prompt "Terminate batch job"

Nov 1, 2013
2
0
In TCC it seems ctrl-c immediately terminates the current batch file (but continues parent batch files).

I do not get any "Terminate batch job (Y/N)?" prompt the way I do in CMD.

Is this expected behavior? Is there a setting I can change to make it behave like CMD?

Simple test :

z1.bat :
call z2.bat
echo after z2

z2.bat :
pause

If I hit ctrl-c at the pause under TCC I always see the "after z2"
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,223
78
Albuquerque, NM
prospero.unm.edu
Type OPTION and press Enter. Select the Startup tab, then look for the option "Cancel Batch File on Ctrl-C" (at the upper right). Turn off the tick box, then click on OK.
 
Nov 1, 2013
2
0
Thanks much!

Also for my own reference, TCC's Y/N/A is rather confusingly different from CMD's Y/N

CMD Y = TCC A (terminate all)
CMD N = TCC Y (terminate current)