WScript.Arguments (Property)

This returns a collection of argument items.


JScript - 3.0
Property/method value type:WshArguments object
JavaScript syntax:WSHmyArguments = WScript.Arguments

The arguments are passed to the WSH script when it is executed. This collection provides a way to access the arguments, possibly by way of an enumerator.

Arguments from the command line or specified by the shortcut that executed the script are passed by means of this collection.