
Batch calls vbscript and needs return
Hi
Maybe someone could help me with my problem.
I need to write a batchfile with NT4, that calls a VBScript.
The vbscript should return a string variable to the batchfile.
Can that be done somehow? AFAIK the CALL command
only gives parameters to the invoked procedure, but not
vice versa?
The batchfile looks like:
call x.vbs
rem vbscript computes a string variable (ret=inputbox(....))
rem that should be returned to the batchfile
echo %ret%
or like that.
But this example doesn't work.
(Vbscript runs fine, no errors there)
Some ideas or proposals?
Thanks a lot!!!
Pit
f'up2 alt.msdos.batch.nt