object.GetSpecialFolder(folderspec)
The folderspec argument can have any of the following values:
Constant | Value | Description |
---|---|---|
WindowsFolder | 0 | The Windows folder contains files installed by the Windows operating system. |
SystemFolder | 1 | The System folder contains libraries, fonts, and device drivers. |
TemporaryFolder | 2 | The Temp folder is used to store temporary files. Its path is found in the TMP environment variable. |
GetAbsolutePathName Method | GetBaseName Method | GetDrive Method | GetDriveName Method | GetExtensionName Method | GetFile Method | GetFileName Method | GetFolder Method | GetParentFolderName Method | GetTempName MethodApplies To: FileSystemObject Object