This discussion is archived
1 Reply Latest reply: Aug 15, 2007 10:50 AM by 3004 RSS

capture errorlevel for maxl script

3004 Newbie
Currently Being Moderated
Hi All,Does anyone know how to capture the errorlevel for maxl script? I want to write a windows batch script, but it seems that the error from the maxl script could not be passed to the batch script.For example, the batch script below, if the maxl (e.g. data loading) generate error, the errorlevel will still show 0:essmsh %mshpath%\%appname%\%mshfile%if %errorlevel% neq 0Thanks & Regards,Lianemail: