PyIFileOperation.NewItem

NewItem(DestinationFolder, FileAttributes, Name, TemplateName, Sink)

Creates a new file as part of the operation

Parameters

DestinationFolder : PyIShellItem

Folder in which to create the file

FileAttributes : int

Combination of win32con.FILE_ATTRIBUTE_* flags

Name : str

Name of the new file

TemplateName=None : str

Template file used to initialize the new file

Sink=None : PyGFileOperationProgressSink

Progress sink for just this operation