Windows Script Host  

length Property (WshEnvironment object)

Returns the number of Windows environment variables on the local computer system (the number of items in an Environment collection).

object.length 

Arguments

object
WshEnvironment 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

WshEnvironment Object | Count Method