GetSpecialFolderPath method

[method icon] GetSpecialFolderPath(FolderID, Path)

>GetSpecialFolderPath

GetSpecialFolderPath

The GetSpecialFolderPath(FolderID, Path) method returns the location of a Windows 'special' folder such as 'My Documents'.

Windows special folders can have localised names or may have a different location for each user. GetSpecialFolderPath will retrieve the correct path based on the folder ID. The Folder ID should be one of the values from the special folder ID enumeration.

REM Get location of user's 'My Documents' directory
Client.GetSpecialFolderPath(_CSIDL_PERSONAL, BYREF MyDocuments$)
See also:

BrandSplash, CameraCapture, ClearDirectoryWatchEvent, CreateBookMark, DisplayScreen, EmptyClientCache, EnableUserPreferences, EnableWarnings, FireServiceEvent, ForceDefaultFont, ForceReadableTextMode, FTPGet, FTPPut, GetForms, GetServiceAttribute, GetServiceCookie, HTTPGet, OpenServiceWindow, PlaySoundFile, SetCharacterEncoding, SetDefaultIMEMode, SetDirectoryWatchEvent, SetPrinterFontName, SetPrinterFontSize, SetPrinterPort, SetServiceAttribute, SetServiceCaption, SetServiceConnection, SetServiceCookie, SetServiceUrl, SetThrottle, ShowSIP