blogs.conchango.com

welcome to the conchango blogging site
Welcome to blogs.conchango.com Sign in | Join | Help
in Search

Browse by Tags

All Tags » Microsoft » Gotcha » batch
  • Resetting %ERRORLEVEL% in batch file programming

    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 ...
    Posted to Merrick Chaffer's Blog (Weblog) by merrick.chaffer on February 28, 2008
Powered by Community Server (Personal Edition), by Telligent Systems