the exit code of the last program call is written to variable
>> ERRORLEVEL

how to test?
- open command line
- run command "dir"
- print error level: echo %ERRORLEVEL%
>> you should get a 0 as error code

- run command "blabla" (a command that does not exist)
- print error level: echo %ERRORLEVEL%
>> you should get a 9009 as error code

computer2know :: thank you for your visit :: have a nice day :: © 2024