Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a value from VBScript
Message
 
 
À
29/10/2001 15:04:01
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Québec, Canada
Information générale
Forum:
Internet
Catégorie:
VBScript
Divers
Thread ID:
00574688
Message ID:
00575165
Vues:
23
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform