"Offering free computer help, hints, and tips to the Internet populace." Now with over 3,820 tips!

DOS and Batch Files

Always Fail on Abort, Retry, Fail

SUMMARY: Force batch files and dos commands to always fail in case of error conditions.


 

If you always want a prompt such as "Abort, Retry, or Fail?" or "Abort, Retry, Ignore, or Fail?" to fail, use the /F command-line option when running COMMAND.COM.



Print This Tip

Get E-Mail When New Tips are Online

Return to the DOS and Batch Files page.

 


New in MalekTips:

RSS Feeds- Subscribe!

You want the latest tech tips and tricks in your e-mail Inbox - FREE? Type your e-mail address below and click 'Get Tips!'.
 


( sample / details )
( opt-out instructions )