merlin2049er Well-Known Member Licensed User Longtime User Mar 25, 2014 #1 Hmm, just wondering will the os handle things like copying over a duplicate file or folder? Or, would I need to watch out for that when issuing a file command?
Hmm, just wondering will the os handle things like copying over a duplicate file or folder? Or, would I need to watch out for that when issuing a file command?
Erel B4X founder Staff member Licensed User Longtime User Mar 25, 2014 #2 Are you asking about File.Copy ? It will overwrite existing files. Upvote 0
merlin2049er Well-Known Member Licensed User Longtime User Mar 25, 2014 #3 Ok, thanks. If you happen to copy and paste the same file onto itself, what happens? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 26, 2014 #4 It will probably do nothing though I haven't tested this case. Upvote 0
merlin2049er Well-Known Member Licensed User Longtime User Mar 26, 2014 #5 Ok, great. I can test to see if the source = destination and ignore the operation. Upvote 0