Run a program and read Return-code (solved)

[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...:

App.exe
echo The program returned %ERRORLEVEL%
pause

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


Comments

Sign In or Register to comment.

Howdy, Stranger!

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

Categories