RootFolder property

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 by using the returned Folder object.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.