Hi @ll,
I'm running a .bat file by using the CreateProcess() API. This means that cmd.exe is started and used to execute my .bat file. The .bat file itself calls another application and I can see that it receives the exit code of 3 (which is what I expect). But cmd.exe returns an exit code of 0.
My OS is WindowsCE 5.0.
My question is: How can I manage it to return the exit code 3 from cmd.exe?
Regards,
Ekke
I'm running a .bat file by using the CreateProcess() API. This means that cmd.exe is started and used to execute my .bat file. The .bat file itself calls another application and I can see that it receives the exit code of 3 (which is what I expect). But cmd.exe returns an exit code of 0.
My OS is WindowsCE 5.0.
My question is: How can I manage it to return the exit code 3 from cmd.exe?
Regards,
Ekke