shell.SHGetKnownFolderPath
string = SHGetKnownFolderPath(fid, flags
, token
)
Retrieves the full path of a known folder identified by the folder's KNOWNFOLDERID.
Parameters
fid : IID
One of the KNOWNFOLDERID constants.flags=0 : int
Flags that specify special retrieval options. This value can be 0; otherwise, one or more of the KNOWN_FOLDER_FLAG values.
token=None : PyHANDLE
An access token that represents a particular user. If this parameter is NULL, which is the most common usage, the function requests the known folder for the current user.