How to supress "Terminate batch job (Y/N)" confirmation?
Problem
In cmd, when we press Ctrl+C we get the target application terminated but if the target application is called from a batch file, we get this "Terminate batch job (Y/N)" confirmation. I can never remember an instance where I chose not to terminate the batch job. How can we skip this confirmation?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How to supress "Terminate batch job (Y/N)" confirmation?
At this site, I found an effective solution: To not have to type this out every time I made a second script called in the same folder with the line above. I've tested this technique on XP only, but others have confirmed it on Win 7. Nathan adds: another option is to put the following code at the top of script.cmd which does the same thing in one file:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix