Page 1 of 1

copyitem - replace/skip dialog

Posted: 16 Feb 2017 14:19
by xy-man
When using copyitem in the form

copyitem <item>, <copy>

and <copy> already exists, a dialog
with skip and replace options pops up and says
that <item> already exists in the destination
instead of saying <copy> already exists in the destination.
Same with the "Copy Here As" command.
The copyitem command itself works correctly.
(XYplorer 17.50.0216 on Windows 10 x64)

Re: copyitem - replace/skip dialog

Posted: 16 Feb 2017 15:20
by admin
SC copyitem is hard-coded to use shell copy (not Custom Copy). Here, under Win8.1, I cannot confirm your observation. The path is not even mentioned in the shell's overwrite prompt.

Which is your Windows version?
Could you post a screenshot of the prompt?

Re: copyitem - replace/skip dialog

Posted: 16 Feb 2017 20:05
by xy-man
Here is an image of the shell copy dialog
after executing the script
copyitem "D:\temp\source.txt", "D:\temp\dest.txt"
where dest.txt already exists.
I am using Windows 10 x64
shell-copy-dlg.png

Re: copyitem - replace/skip dialog

Posted: 16 Feb 2017 20:25
by admin
Ah, yes. I now remember that this is a known Windows bug. Somewhere in this forum it has been mentioned (maybe 2-3 years ago). Interesting that it's still present in Win10. Anyway, it's nothing I could fix.