0efc187d_ronment_variables_with_Cmd_exe__Description
[Variable] %ERRORLEVEL% [Type] System [Description] 
Returns the error code of the most recently used command. A non zero value usually indicates an error.
Using environment variables with Cmd.exe
Description