Not sure I understand. If you’re duplicating a file, the new copy is always going to be a duplicate of the file.
You will already see the Replace dialog if the name you specify for the duplicate already exists and the duplicate is going to replace some other file.
But if the new name doesn’t exist, there’s no reason to show the Replace dialog.
I have a button that will move all files from a selected folder to the current folder. When I click the button, if there are any duplicates I will get the second box. I am looking to get the first box, which will let me compare the duplicates to see if they are duplicate, and gives me the option to rename it without having it do it manually, rename all duplicates, skip all, etc.
Not really looking for a new popup, as the first one does everything the second one does, plus a lot more. I like the preview to better compare the files.
I did not try so far, meaning, I do not remember the exact behaviour for the rename process, so I may be wrong when saying that the first, larger, popup does not offer any input functikn to enter a custom filename, right?
No idea what I was thinking, of course it is going to be a true duplicate. I was looking for a way to show the first popup, so I could use the rename all option. I found the solution, use this code instead.
Copy DUPLICATE FILE AS * WHENEXISTS=ask
But is there a way to keep the first items selected? That way I can make an additional copy as well.
Sorry about all the confusion, I guess I should re-read the post to make sure I am explaining myself and what I am looking for.