In Windows NT, I have a batch file that contains something like this:
The MyProgram.java program contains System.exit() calls with different exit status codes. How do I write the batch file so that it reads the exit status code from MyProgram? Depending on the status code, the batch file will either stop or continue with the next command.
Thanks in advance.