This content has been marked as final. Show 3 replies
System.exit(<your return code - as an int - here>);
I tried that, but it doesn't return the value...
In my Java app, I had System.exit(returnCode) and in the '.bat' file
and it didn't return any value. What should I specify in set returnCd=%?% instead of ?
Got it. It should be ERRORLEVEL.