The VBScript Network and Systems Administrator's Cafe:

commandline

1

September 12, 2008  6:04 AM

How to use command line arguments in VBScript via the Wscript.Arguments Object



Posted by: Jerry Lees
commandline, VBScript, vbscript tips, Wscript.Arguments

One thing that comes up frequently in my need to script tasks, is the ability to run a script from the command line, or as a scheduled job with parameters passed to it from the calling application. In a "set it and forget it" script it's not such a big deal to have arguments...

1

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: