When running a bat file, I'd like to see the commands being executed but not anything rem'ed out.
The problem is that it seems to be all or nothing. When using "echo off" nothing shows except the results of the commands, like "2 files copied". But when not using echo off, everything, including lines rem'ed out, shows while it runs. This makes the screen cluttered and hard to read.
How can I set it to see both the command (copy this there, or whatever) and the results too but nothing rem'ed out?
(I don't want to install any software as a solution)
Thanks.
::line just before the ending of a parenthesized block of instructions.for ... do ( \\ anything \\ ::comment \\ )is invalid. (\\for EOLs) – Benoit Aug 01 '11 at 17:28