home *** CD-ROM | disk | FTP | other *** search
- id m0u34fS-0007rFa; Sat, 30 Mar 96 10:42 MST
- Sender: owner-executor
- Received: by ftp.ardi.com (Smail3.1.29.1 #3)
- id m0u34UI-0007rGC; Sat, 30 Mar 96 10:30 MST
- Received: by gwar.ardi.com (Smail3.1.29.1 #3)
- References: <315d352e.374764@smtp.ix.netcom.com>
- Message-id: <m0u34Sh-000GOKC@gwar.ardi.com>
- Subject: Re: does executor/dos set ERRORLEVEL if something goes wrong?
- Cc: executor@ardi.com
- In-reply-to: <315d352e.374764@smtp.ix.netcom.com>
- To: d_burr@ix.netcom.com
- Date: Sat, 30 Mar 96 10:29 MST
- From: mat@ardi.com (Mat Hostetter)
- Sender: owner-executor@ardi.com
- Precedence: bulk
-
- >>>>> "Donald" == Donald Burr <d_burr@ix.netcom.com> writes:
-
- Donald> Just curious, but does E/DOS set ERRORLEVEL to something
- Donald> other than 0 if something goes wrong (i.e. it crashes)?
- Donald> I'm writing some batch files that could really make use of
- Donald> this feature (mainly to tell the user that something went
- Donald> wrong and to save the traceback for him/her).
-
- Executor will do an exit(-1) on a crash, but I don't know what
- ERRORLEVEL is. Maybe djgpp's exit implementation sets that up, maybe
- not.
-
- -Mat
-
-