TIP: Click on subject to list as thread! ANSI
echo: quik_bas
to: JOHN MCGRATH
from: PAT PRIDGEN
date: 1998-04-29 21:08:00
subject: Thanks

[In a message from John Mcgrath to All ]
 JM> Is it possible to pass errorlevel to a dos batch file as i 
 JM> have a menu system that i wrote in VB and now i want to 
 JM> make it run outside IE from errorlevels
 JM> IE  DOS BAT FILE
 JM> IF ERRORLEVEL 200 goto xxx
 JM> etc
Use END n%, where n% would be the error level that you wish to pass to
your batch file. Remember to have your HIGHEST error level listed first
in your list of errorlevel checks. You could set it up with a SELECT
CASE, and pass your errorlevel to END just about anyway you want to.
.                         pat.pridgen@svis.org
.                          La Grande, Oregon
*SignIt 2.x #001* 
... Back to the deep dark programmer's womb.(Third womb on the wight)-M.B.
___ Blue Wave/DOS v2.30
--- Maximus 2.02
---------------
* Origin: THE LOFT in Auburn IN 219-925-5524 & 238-3222 HST/V34+ (1:236/7)

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