rberq Posted February 28, 2010 Report Share Posted February 28, 2010 A DOS batch file can set a return code, for example EXIT 5 which can be tested within DOS like so: IF ERRORLEVEL .... If I launch a DOS batch file from ME, can I get the return code directly into a variable? For example something like this, which I have tried and it doesn't seem to work: Variable Set String from Environment Variable [ERRORLEVEL] How about the return code from a Windows program? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.