PyIStorage.MoveElementTo

MoveElementTo(Name, stgDest, NewName, Flags)

Copies or moves a substorage or stream from this storage object to another storage object.

Parameters

Name : str

A string that contains the name of the element in this storage object to be moved or copied.

stgDest : PyIStorage

PyIStorage for the destination storage object.

NewName : str

A string that contains the new name for the element in its new storage object.

Flags : int

Specifies whether to move or copy (storagecon.STGMOVE_MOVE or STGMOVE_COPY)