From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: [Dos-Devel: tools] Re: ERRORLEVEL Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <3 DOT 0 DOT 6 DOT 16 DOT 20000428113818 DOT 2d8f76ac AT mail DOT cybercable DOT fr> <3 DOT 0 DOT 6 DOT 16 DOT 20000428145715 DOT 35afb580 AT mail DOT cybercable DOT fr> <8ec3pu$c81$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 27 X-Trace: /K49oENUNrnLXqIZi/QgMQ1HvbG76Ud32nJE6cXMem/nUPeqOmj50rYSOixyZZZc40/6bsWuY6Dc!ZDnb/Y7RQ2hlUxzPQ6mvyw0eqbfXXRyKbv0jmWaVkAMxCB4pQdw3id01SRUw0MEWY9FoqzkxQCyU!iOZicQQ= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Mon, 01 May 2000 20:17:52 GMT Distribution: world Date: Mon, 01 May 2000 20:17:52 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On 28 Apr 2000 13:30:38 GMT, Hans-Bernhard Broeker wrote: >Michelle Konzack wrote: >> Ops, thats all ??? > >Yes. > >> Does it works only for Nubers or for Strings too ??? > >Numbers only. I think the OP's question might have been: "So how does a program get the errorlevel of a program it has spawned?" C:\>info libc alpha spawn Turns out the spawn*() functions return the ERRORLEVEL of the programs they spawn. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/