ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellBrowser.GetPathFromSpecialFolder

Use this function to get the path of a special folder (TJamShellFolder).

Syntax
Pascal
function GetPathFromSpecialFolder(folder: TJamShellFolder): string;
Parameters 
Description 
folder: TJamShellFolder 
A TJamShellFolder. 

The path of the given special folder, or an empty string if the special folder has no path assigned on the current system. 

The full path of the given TJamShellFolder.

The next line will get the absolute ItemIdList of the "My Documents" folder:

MyDocuments := GetPathFromSpecialFolder(SF_PERSONAL);