次の方法で共有


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.

Applies To:

WshEnvironment Object

See Also

Reference

Count Method (Windows Script Host)