On 1/10/2012 8:40 PM, Tom Del Rosso wrote:
> I just read in technet that REM statements are invalid inside multi-line
> commands, but I use them all the time. Is that a NT1-4 thing?
While it may work, it is a good idea to avoid REM and/or labels in
multi-line statements to minimize unexplained errors.
In XP, it seems that once a multi-line REM error occurs, the batch will
continue to have unexplained errors, even after the error is corrected,
until the cmd session is closed and a new session opened. Ted Davis
refered to this anomaly of unexplained errors as XP's behavior randomizer.
--
Todd Vargo
(Post questions to group only. Remove "z" to email personal messages)