Microsoft® Windows® Script Host
WshArguments Object
WSH Reference
Version 1

See Also                      Properties


Description
Returns a pointer to the collection of command-line parameters.
Remarks
Not exposed; accessed through the Arguments property.

Example
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