Visual Basic for Applications Reference

RootFolder Property

See Also    Example    Applies To    Specifics

Description

Returns a Folder object representing the root folder of a specified drive. Read-only.

Syntax

object.RootFolder

The object is always a Drive object.

Remarks

All the files and folders contained on the drive can be accessed using the returned Folder object.