FG
💻 Software

How to supress "Terminate batch job (Y/N)" confirmation?

Fresh5 days ago
Mar 15, 2026179197 views
Confidence Score1%
1%

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

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to supress "Terminate batch job (Y/N)" confirmation?

Low Risk

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

Environment