GetSpecialFolderPath method
GetSpecialFolderPath(FolderID, Path)
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$)