TIP: Click on subject to list as thread! ANSI
echo: msged_echo
to: Ross Slade
from: Jerry Schwartz
date: 1997-07-22 20:18:22
subject: errorlevels

[Jul 20, 97 - 10:10] Ross Slade of 3:622/419 wrote to anyone:

RS> msgedp.exe
RS> if errorlevel 0 goto EXIT
RS> if errorlevel 1 goto NET
RS> if errorlevel 2 goto ECHO
RS> if errorlevel 3 goto BOTH
RS> if errorlevel 16 goto EXIT
RS> if errorlevel 17 goto NET
RS> if errorlevel 18 goto ECHO
RS> if errorlevel 19 goto BOTH
RS> pause

Unless OS/2 has suddenly become horribly incompatible with everything else,
you need to invert the order of those IF statements.  The test means >=

Jerry Schwartz
@EOT:

--- Msged/386 4.00
* Origin: Write by Night (1:142/928)
SEEN-BY: 270/101 104 396/1 600/675 622/419 632/107 360 633/260 267 270 359
SEEN-BY: 635/728 639/252 670/218 3615/50
@PATH: 142/928 1 3615/50 396/1 270/101 633/359 632/360 635/728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

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™.