I have a batch program that calls several child batch programs and they make extensive use of various Windows commands. In case of error, I would like to provide logging information about the error details to the user.
How do I know what are the various error codes (a number in the range 0 to 256) that these commands can return and what are their interpretations in English?