Run a program and read Return-code (solved) - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Run a program and read Return-code (solved)

MEGAG3EKMEGAG3EK Posts: 10Member
[b][red]This message was edited by MEGAG3EK at 2005-9-14 5:51:34[/red][/b][hr]
If you make a batch-file with the text...:

echo The program returned %ERRORLEVEL%

...then it will print what App.exe returned. I want to do this in a c++ program. Thanks for the help!


Sign In or Register to comment.