Property: Path for Folder
- Updated2024-09-12
- 1 minute(s) read
FileSystemObject and Dictionary > Properties > Property: Path for Folder
Property: Path for Folder
Specifies the path of a folder.
Object.Path
| Object | Folder Object with this property |
| Object.Path | String with read access |
The following example specifies the path of a folder:
Function FolderPath(sFolder) Dim fso, oMyFolder Set fso = CreateObject("Scripting.FileSystemObject") Set oMyFolder = fso.GetFolder(sFolder) FolderPath = "Path: " & oMyFolder.Path End Function