shell.SHSetFolderPath

SHSetFolderPath(csidl, Path, hToken)

Sets the location of one of the special folders

Parameters

csidl : int

One of the shellcon.CSIDL_* values

Path : str/unicode

The full path to be set

hToken=None : PyHANDLE

Handle to an access token, can be None

Comments

This function is only available on Windows 2000 or later