PyIFileOperation Object

Interface used to build a collection of file system modifications to be performed by the shell as a unit. Serves as a replacement for shell::SHFileOperation.
No changes are actually made until PerformOperations is called.
Progress can be monitored by implementing PyGFileOperationProgressSink.
Requires Vista or later.

Methods

Advise
Connects an event sink to receive updates 

Unadvise
Disconnects a progress sink 

SetOperationFlags
Sets option flags 

SetProgressMessage
Not implemented 

SetProgressDialog
Provides an interface used to display progress 

SetProperties
Specifies a set of properties to be changed 

SetOwnerWindow
Sets the parent window for any UI displayed. 

ApplyPropertiesToItem
Specifies the item that will receive property changes 

ApplyPropertiesToItems
Specifies multiple items that will receive property changes 

RenameItem
Adds a rename to the operation sequence 

RenameItems
Adds multiple renames to the operation sequence 

MoveItem
Adds a move operation to the configuration 

MoveItems
Adds multiple move operations to the configuration 

CopyItem
Adds a copy operation to the configuration 

CopyItems
Adds multiple copy operations to the configuration 

DeleteItem
Adds a delete operation to the configuration 

DeleteItems
Adds multiple delete operations to the configuration 

NewItem
Creates a new file as part of the operation 

PerformOperations
Effects all configured file system modifications 

GetAnyOperationsAborted
Determines if any operations were terminated