thready
asked on
C++ execute command line - errorcode
Hi Experts,
How can I run an exe from code and get the value of errorcode (as we would in a batch file)?
Thanks!
Mike
How can I run an exe from code and get the value of errorcode (as we would in a batch file)?
Thanks!
Mike
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sorry about the code formatting, but you'basically call this function with the command line to execute and the the return value (or %ERRORCODE%) back in return.
ASKER
Awesome! :-)
Thanks!
Thanks!