home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / dos / extra / docs / maillist / text / archive.96 / text3757.txt < prev    next >
Encoding:
Text File  |  1996-07-25  |  1.1 KB  |  31 lines

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