PyIShellFolder.SetNameOf

PyIDL = SetNameOf(hwndOwner, pidl , Name , Flags )

Sets the display name of an item and changes its PIDL

Parameters

hwndOwner : HWND

Window in which to display any message boxes or dialogs, can be 0

pidl : PyIDL

PIDL that identifies the item relative to the parent folder

Name : str

New name for the item

Flags : int

Combination of shellcon.SHGDM_* values

Return Value

Returns the new PIDL for item