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