Folder.IsRootFolder (Property)

A flag indicating whether the folder is the root folder for the drive it lives in.


JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Boolean primitive
JavaScript syntax:IEmyFolder.IsRootFolder

It may be useful to detect whether a folder is a root folder. If you have built a tree-walking script to navigate round a file system hierarchy folder by folder, this property tells you when you have reached the top.

See also:Folder.ParentFolder