|
|
Browse by Tags
All Tags » microsoft » dos » Gotcha
-
Came across a definite gotcha today in batch file programming, when I noticed that we had SET ERRORLEVEL=0 in one of our batch files. Turns out that once you set this variable explicitly then any command you run after will not be able to change the value of the %ERRORLEVEL% variable. E.G.
C:\>dir AUTOEXEC.BAT
Volume in drive C has no ...
|
|
|