Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site mmm.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!ihnp4!mmm!igielski From: igielski@mmm.UUCP (Tom Igielski) Newsgroups: net.micro.pc Subject: Obtaining Error Codes from COMMAND.COM Message-ID: <659@mmm.UUCP> Date: Thu, 27-Mar-86 14:31:44 EST Article-I.D.: mmm.659 Posted: Thu Mar 27 14:31:44 1986 Date-Received: Sun, 30-Mar-86 02:40:37 EST Distribution: net Organization: 3M Company, St. Paul, Minn. Lines: 14 I am developing a program that needs to invoke other programs by spawning COMMAND.COM with the new program on the command line. The problem I am having is that, when the program invoked by COMMAND.COM exits with an error, the error is passed back to COMMAND.COM, but COMMAND.COM does not pass the error back to my original program. Is there a way to get COMMAND.COM to return error codes from programs it invokes as part of this process. Thanks in Advance, Tom Igielski