Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to figure out what's going wrong inside a microsoft batch file, and I want to preserve the file and environment it runs from as it natively would. How can I force echo to stay on so I can find the line that is giving an error without changing their file?

share|improve this question

If the batch file has Echo Off in it, then you are pretty much out of luck unless you remove/remark that line (or change it to Echo On).

It's pretty safe to make a backup, REM out that line, and save it as it won't affect any functionality besides preventing Echo from being turned off.

You Can't Make an Omelette without breaking a few eggs. :)

Perhaps just warn "them" of what you are going to do; If it's broken already, and they've asked you to look at it, then I doubt they'll mind. :)

share|improve this answer
+1: You can pretty much backup anything ans safely modify it. – surfasb Oct 29 '11 at 0:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.