When a programme terminates the exit code is assigned to the special variable ERRORLEVEL.
if reference[
^]
batch files reference[
^]
e.g.
@echo off
prog.exe
echo %errorlevel%
Be aware that the START command, depending on the arguments supplied, may invoke a new copy of the command processor. If that happens the exit code from the exe will be not be available in the original context.
elad2109 wrote:
2. Are there any other available details ....
Not that I know of.
Alan.