PyIKnownFolder Object

Interface representing a known folder that serves as a replacement for the numeric CSIDL definitions and API functions. Requires Vista or later.

Methods

GetId
Returns the id of the folder 

GetCategory
Returns the category for a folder (shellcon.KF_CATEGORY_*) 

GetShellItem
Returns a shell interface for the folder 

GetPath
Returns the path to the folder 

SetPath
Changes the location of the folder 

GetIDList
Returns the folder's location as an item id list 

GetFolderType
Returns the type of the folder 

GetRedirectionCapabilities
Returns flags indicating how the folder can be redirected 

GetFolderDefinition
Retrieves detailed information about a known folder