length Property (WshEnvironment Object)
Returns the number of Windows environment variables on the local computer system (the number of items in an Environment collection).
Syntax
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.