Allows you to deal with non file system folders.
property SpecialFolder: TJamShellFolder;
SpecialFolder allows you to set or get the type of the currently listed folder. You can use the TJamShellFolder constants here.
This line will display the Control Panel folder in the TJamShellList:
JamShellList.SpecialFolder := SF_CONTROLS;
The following example shows the properties dialog for all selected items, if the listed folder is a file system folder. This allows the user to see the summarized size of all items.
With JamShellList do if SpecialFolder = SF_FILESYSTEM then begin SelectAll(); InvokeCommandOnSelected('properties'); end;