TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: GERALD MILLER
from: PETER HOLM
date: 1998-04-16 13:44:00
subject: Question #1!

Hi Gerald.
On Apr. 13, 1998 at 20:54 hours you wrote to Barry Block:
 GM> provide more accurate detail of what the problems are, one must
 GM> live with the fact that all errors are lumped into errorlevel 255.
Maybe CHKDSK does that (I don't use the DOS-one), lumping _all_ errors into 
255, but with other programs you should be carefull. ERRORLEVEL without any 
operator checks to "greater equal"!
      ERRORLEVEL [operator] n
           This test retrieves the exit code of the preceding external
           program.  By convention, programs return an exit code of 0 when
           they are successful and a number between 1 and 255 to indicate an
           error.  The condition can be any of the operators listed above
           (EQ, !=, GT, etc.).  If no operator is specified, the
           default is GE.  The comparison is done numerically.
   Greetings,
   Peter Holm (pholm@dorf.ccc.or.at) 
--- 
---------------
* Origin: Enjoy life (2:313/26.5)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.