Microsoft® Windows® Script Host WshArguments Object |
WSH Reference Version 1 |
Returns a pointer to the collection of command-line parameters.
Not exposed; accessed through the Arguments property.
The following example displays all command-line parameters in the Arguments collection:Set objArgs = WScript.Arguments For I = 0 to objArgs.Count - 1 WScript.Echo objArgs(I) Next