PyITransferSource.RenameItem

(int, PyIShellItem) = RenameItem(Source, NewName , flags )

Renames a shell item

Parameters

Source : PyIShellItem

Item to be renamed

NewName : str

The name to be given to the item

flags : int

Combination of shellcon.TSF_* flags