This project is read-only.


Set ERRORLEVEL to something when an error occurs


I use a batch file to call XmlPreprocess, and when an error occurs, there are certain things I would like for it to do, but it seems that XmlPreprocess always returns with ERRORCODE set to 0. If an error occurs during execution, please set ERRORLEVEL appropriately so that it can be handled gracefully.
Closed Aug 9, 2012 at 5:54 PM by lorenh
No action required


AMcMillan wrote Jan 6, 2011 at 8:09 PM

BAH...Nevermind. It has been a while since I have done batch writing...

if ERRORLEVEL 0 was always true
if (%ERRORLEVEL%) == (0) is only true when XmlPreprocess is successful

wrote Aug 9, 2012 at 5:54 PM

wrote Feb 14, 2013 at 7:04 PM

wrote May 16, 2013 at 10:03 AM