Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a value from VBScript
Message
 
 
To
29/10/2001 15:04:01
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Quebec, Canada
General information
Forum:
Internet
Category:
VBScript
Miscellaneous
Thread ID:
00574688
Message ID:
00575165
Views:
22
>HI,
>IS it possible to return a value form a script ? I would like to call a VBScript from a DOS console and get the returned value with %errorlevel%.
>
>Thank you,

Christian,
Not sure if this will help or not. You might be able to use the WshEnvironment object to gain access to the environment variables. In your script file, you could test for the existence of the Errorlevel variable. Check out http://msdn.microsoft.com/library/en-us/wsh/htm/wsObjWshEnvironment.asp for more info.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform