Folder.SubFolders[] (Collection)

A list of sub-folders within the receiving folder object.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Folders object
JavaScript syntax:IEmyFolder.SubFolders

If you are walking up the folder hierarchy, you can use the parentFolder property.

This collection of Folder objects provides a way of traversing down the folder hierarchy to the leaf nodes at the deepest level.

See also:File.ParentFolder