PyIFileOperation.SetProperties

SetProperties(proparray)

Specifies a set of properties to be changed.

Parameters

proparray : PyIPropertyChangeArray

Sequence of property changes to be performed (see propsys::PSCreatePropertyChangeArray)

Comments

Note that these properties will be set for *any* files created by the operation, not just items passed to ApplyPropertiesToItem(s). New items created as the result of a rename, copy, or move must have a property handler, or the operation fails with the vague
com_error: (-2147467259, 'Unspecified error', None, None) (E_FAIL, or 0x80004005 in hex) even though the given file operation was actually performed.