>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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao