> Does anyone know of a page (or has a file) with a complete listing of > exitcodes > for the various DOS commands? (at least MS-DOS) I was unable to find such a > page, the information seems scattered.
I don't think there is such a list, and I don't even think MS produced such a list. ErrorLevels/Exit Codes are something that programmers don't seem to pay a lot of attention to. In addition, they can change over time as programs get updated and new "features" are added. E.g., an updated version of a program may work with Long File Names when earlier versions didn't so there may be additional or rearranged exit code associated with the new LFN functionality. There is sort of an unofficial "standard" that says ErrorLevel=0 means "OK/No Error" and anything >0 is an error of some sort, but even that isn't universal. E.g., in V8 power tools one of the programs that determines the CPU type returns the type of CPU as an ErrorLevel (e.g., an 80386 might return an ErrorLevel of 3), and I know other programs do similar kinds of things. In most of my programs, I have a command-line option (like /ErrorLevel) that will display the Exit Codes for that particular program with a brief description of what each means, in addition to including it in the documentation. _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel