scripting:api:wscript:arguments

Arguments

Property of IWScript

Returns the WshArguments object (a collection of arguments)

Read-Only Property of type IWshArguments

var pArguments = WScript.Arguments;
pArguments = WScript.Arguments
CComPtr<IWshArguments> pArguments;
HRESULT hr = WScript.get_Arguments(&pArguments);