Count
Property of IWshArguments
Description
Returns the number of command-line parameters belonging to a script (the number of items in an argument's collection
Property type
Read-Only Property of type long
Syntax
JavaScript
var nVal = WshArguments.Count;
Visual Basic Script
nVal = WshArguments.Count
C++
long nVal; HRESULT hr = WshArguments.get_Count(&nVal);