Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shell Error Trap

Status
Not open for further replies.

jeffward

MIS
Jul 3, 2002
33
GB
I have an existing .exe that I need to run and detect if any errors occurred.

I can run this with the shell command but this does not tell me if the application worked or not?

(I also have the full c++ source for the exe and looked at making it into a dll but as i dont know c or c++ this looked to daunting so i thought i would just run the compiled exe!)

I have seen some threads that discuss outputing the output from a batch job to a file and then reading the file but this seems a bit long winded when all i want is did it work or not (as if it didnt i can then investigate!)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top