home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / linux / extra / docs / maillist / text / archive.96 / text1834.txt < prev    next >
Encoding:
Text File  |  1996-07-25  |  544 b   |  15 lines

  1. >>>>> "Donald" == Donald Burr <d_burr@ix.netcom.com> writes:
  2.  
  3.     Donald> Just curious, but does E/DOS set ERRORLEVEL to something
  4.     Donald> other than 0 if something goes wrong (i.e. it crashes)?
  5.     Donald> I'm writing some batch files that could really make use of
  6.     Donald> this feature (mainly to tell the user that something went
  7.     Donald> wrong and to save the traceback for him/her).
  8.  
  9. Executor will do an exit(-1) on a crash, but I don't know what
  10. ERRORLEVEL is.  Maybe djgpp's exit implementation sets that up, maybe
  11. not.
  12.  
  13. -Mat
  14.  
  15.