PyIFileOperation.RenameItem

RenameItem(Item, NewName, Sink)

Adds a rename to the operation sequence

Parameters

Item : PyIShellItem

The item to be renamed

NewName : str

The new name

Sink=None : PyGFileOperationProgressSink

Progress sink for this operation only.