Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

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

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"
 
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.
 
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)
 

Similar threads

Back
Top