Message-Id: <3.0.6.16.20000428145715.35afb580@mail.cybercable.fr> Organization: Michelle's Internet Service X-Link: http://www.michelle-is.com/index.htm X-Moto: Micr0$oft = What do you want to crash today? X-Note: Sending S P A M is a violation of german, french and US law and will at least trigger a complaint at your provider's postmaster. X-Sender: starone AT mail DOT cybercable DOT fr X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (16) Date: Fri, 28 Apr 2000 14:57:15 +0100 To: djgpp AT delorie DOT com From: Michelle Konzack Subject: [Dos-Devel: tools] Re: ERRORLEVEL In-Reply-To: <8ebrp7$96b$1@nets3.rz.RWTH-Aachen.DE> References: <3 DOT 0 DOT 6 DOT 16 DOT 20000428113818 DOT 2d8f76ac AT mail DOT cybercable DOT fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id HAA08069 Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk >The ERRORLEVEL you can query by 'IF ERRORLEVEL' in a batch file is the >return value of main(), or equivalently the argument of exit(). I.e. >if you > > return 51; > >inside main(), or > > exit(51); > >anywhere in your program, the errorlevel will be 51. Ops, thats all ??? Does it works only for Nubers or for Strings too ??? Thanks Michelle -- Don't cc: me on mailinglists, I'm subscribed, if I write there. ---------------------------------------------------------------------------- Linux rebootet man in drei Fällen: Neuer Kernel, neue (Board-)Hardware, Stromausfall.... Aber Windows rebootet man auch in drei Fällen: Schutzverletzung, Bluescreen, keinen Bock...