PyIKnownFolderManager.Redirect

Redirect(id, hwnd, flags, TargetPath, Exclusion)

Redirects a known folder to an alternate location

Parameters

id : PyIID

Id of the known folder to be redirected

hwnd : PyHANDLE

Handle of window to be used for user interaction

flags : int

Combination of KF_REDIRECT_* flags

TargetPath : str

Path to which the known folder will be redirected

Exclusion : (PyIID,...)

Sequence of known folder ids of subfolders to be excluded from redirection