共用方式為


length Property (WshSpecialFolders Object)

 

Returns the number of Windows special folders on the local computer system (the number of items in a SpecialFolders collection).

Syntax

object.length 

Arguments

  • object
    WshSpecialFolders 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:

WshSpecialFolders Object

See Also

Count Method (Windows Script Host)