I'm trying to determine the return code of an executable using a batch file in Win2k. All I want to do is echo it to the screen.
I thought I'd just be able to do something like this:
... but this doesn't seem to echo anything. Any ideas?
I thought I'd just be able to do something like this:
Code:
myCommand.exe param1 param2
echo %errorlevel%
... but this doesn't seem to echo anything. Any ideas?