Software >> OS >> Windows >> Scripting >> Windows Scripting Host >> How to obtain/parse script arguments

For i = 0 to Wscript.arguments.count - 1 ReDim Preserve strArgumentArray(i) strArgumentArray(i) = Wscript.arguments.Item(i) wscript.echo strArgumentArray(i) Next number of arguments after script itself is in wscript.arguments.count