WshArguments.Count

The Count property provides the number of command-line parameters.

Syntax

Arguments.Count = natNumberOfArguments
 

See Also

Wscript.Arguments property, WshArguments.length property