![Bob Aiello's picture Bob Aiello's picture](https://www.cmcrossroads.com/sites/default/files/styles/profile-pic/public/pictures/picture-87041-1442424553.jpg?itok=iH3eYxUg)
Hi,
could you please specify which platform you are on. It looks like you are using CMD files so I presume that you are on Windows using CMD scripts. It may be relevent to mention the exact version of the OS that you are using.
Does your approach of catching return codes
IF ERRORLEVEL 1 EXIT /B 1
work in other scripts?
I would write a little example and verify that catching the ERRORLEVEL on your machine works as expected.
If we can get a little more detail, I will tweet this question out and get more of our esteemed CM gurus to comment!
Bob Aiello
Technical Editor
CM Crossroads