FN-GM Posted September 6, 2012 Posted September 6, 2012 Hi, I want to run a .exe in the command line. How do i view the exit code of this please? Thanks
Ergo Posted September 6, 2012 Posted September 6, 2012 IF you want to do this once, simply running DebugView should show you. Alternatively if you are calling the .exe from a batch file you can use the code below as the next line in the batch file. echo Exit Code is %errorlevel% Regards, David Irwin 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now