The OverwriteDialog method displays file overwrite confirmation dialog box.
OverwriteDialog(file1, file2, buttons)
Required. File that is supposed to be overwritten with the second file. For more information see the following Remarks section.
Required. File that is supposed to overwrite the first file. For more information see the following Remarks section.
Required. Number specifying the type of buttons to display.
|4||Display Yes, All, Skip, Skip All and Cancel buttons.|
|5||Display Yes, No and Cancel buttons.|
The file parameters can be either the File objects obtained from the FileSystemObject or the Salamander panel Item objects. If you can retrieve neither of these object types you can use multiline string in place of these parameters. The first line of the text should specify the full file path. The second line should specify additional information like file size and date and time when the file was last modified. The lines of text should be separated with the new line (CR) character.