[This is preliminary documentation and subject to change.]
The Arguments property provides a WshArguments collection object.
Wscript.Arguments = objArguments
' Display all command-line parameters
Set objArgs = Wscript.Arguments
For I = 0 to objArgs.Count - 1
Wscript.Echo objArgs(I)
Next
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.