To access a target folder, you first need to create an instance of the FileSystemObject object and then instantiate the Folder object through the GetFolder method.

Properties

Methods

Examples

In the following example, we will create an instance of the FileSystemObject object and then use the GetFolder method to instantiate the Folder object. Finally, we use the Folder object properties to get the information about the specified Folder. The second example shows how to delete a folder.