KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Analogous to the $? in Linux, is there a way to get the exit status of a program in a Windows batch file ( .bat )? Say for example the program has a System.exit(0) upon successful execution, and a System.exit(1) upon a failure, how do I trap these exit values in a .bat file?
Tags (comma-separated)
Save Edits
Cancel