
Call VBScribt with parameter from DOS Batch file
Quote:
> I want to call/start a VBScribt procedure/function from a DOS Batch file or
> any .EXE file with one or more parameters. How is the calling syntax and how
> can I use the parameter in the VBScribt?
Hi
Take a look at the docs that Ned directed you to.
A quick note. Only WSH 5.6 supports named arguments, it was implemented in WSH
5.6:
http://msdn.microsoft.com/library/en-us/script56/html/wslrfNamedObjec...
An example on named arguments:
Subject: Re: Code for handling command args
Newsgroups: microsoft.public.scripting.wsh
Date: 2002-08-09 17:06:11 PST
http://groups.google.com/groups?selm=u1zx2EAQCHA.1636%40tkmsftngp13
Note that the arguments identificator is case insensitive for named arguments:
Subject: Re: Processing command-line arguments with VBScript.
Newsgroups: microsoft.public.scripting.vbscript
Date: 2002-01-31 13:32:22 PST
http://groups.google.com/groups?selm=eEpJo5pqBHA.2332%40tkmsftngp03
--
torgeir