Property: ShortName for Folder
- Updated2024-09-12
- 1 minute(s) read
FileSystemObject and Dictionary > Properties > Property: ShortName for Folder
Property: ShortName for Folder
Specifies the short name according to the 8.3 naming convention.
Object.ShortName
| Object | Folder Object with this property |
| Object.ShortName | String with read access |
The following example returns the short name of a folder:
Function FolderShortName(sFolder) Dim fso, oMyFolder Set fso = CreateObject("Scripting.FileSystemObject") Set oMyFolder = fso.GetFolder(sFolder) FolderShortName = "Shortname: " & oMyFolder.ShortName End Function