When an exception error occurs in a vb script started
as follow: cscript.exe MyScript.vbs ,
(Error example: 'Variable undefined')
the variable %errorlevel% is still set by 0.
How to bring the cscript.exe to set the %errorlevel% to 1
when an ExceptionError occurs ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.