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?
If the batch file has
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.
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. :)