CARIS HIPS and SIPS : CARIS Batch Utility : Introduction : Exit Codes
 

Exit Codes

When CARIS Batch terminates, it returns the following values to the Command Prompt:

= 0, returns 0 (zero) when there were no processing errors;

= 1, returns 1 (one) indicating there was a processing error.

A batch script calling carisbatch.exe, should test the exit code. See the following example.

carisbatch.exe -r ProcessName [process options...]

if %ERRORLEVEL% NEQ 0 (

echo Error in CARIS Batch: %ERRORLEVEL%

exit /B %ERRORLEVEL%

)