Passing parameters to VBScript

ASGMikeG (1 post)
July 5, 2006 08:16 PM
Accepted Answer

Hi,

I need to schedule the same VBScript to run many times - but passing it different parameters each time.

If I set it up as a script type step I can't see a parameters / command line field.

It works if I run it as a batch file / program and call cscript as the program.

How do I do this properly ? 

Regards

Michael

MMartinez (8 posts)
February 13, 2007 09:31 AM
Accepted Answer

Try setting up an environment variable on the calling script and reading it on the called script.

Mariano

Replies are disabled for this topic.