Windows Script Host  

length Property (WshArguments object)

Returns the number of command-line parameters belonging to a script (the number of items in an argument's collection).

object.length 

Arguments

object
WshArguments object.

Remarks

The length property is a read-only integer that you use in scripts when you write in JScript. It is similar to VBScript's Count method.

See Also

WshArguments Object | Arguments Property | Count Method