Duplicate Drag/Merge in a batch file

L

Lewis

routinely drag a bunch of folders from, for example c:\files\ to
c:\files2\ and select "Merge" and then, after a wait of several minutes
"Do not move" for files that already exist on the target. Please note
that c:\files\ contains FOLDERS.

I would like to do this from a bat file instead of from the GUI. but
haven't figured out the right syntax.

is xcopy still the tool for this? I seem to recall Microsoft deprecating
it a few years ago in favor of something else.
 
B

Bob I

Click the Start button, type CMD in the box, press enter, type XCOPY /?
on the line behind the command prompt, press enter.
 
C

Char Jackson

routinely drag a bunch of folders from, for example c:\files\ to
c:\files2\ and select "Merge" and then, after a wait of several minutes
"Do not move" for files that already exist on the target. Please note
that c:\files\ contains FOLDERS.

I would like to do this from a bat file instead of from the GUI. but
haven't figured out the right syntax.

is xcopy still the tool for this? I seem to recall Microsoft deprecating
it a few years ago in favor of something else.
IMHO, Microsoft's Robocopy is the best tool for that.
 
J

Jake

Lewis said:
routinely drag a bunch of folders from, for example c:\files\ to
c:\files2\ and select "Merge" and then, after a wait of several minutes
"Do not move" for files that already exist on the target. Please note
that c:\files\ contains FOLDERS.

I would like to do this from a bat file instead of from the GUI. but
haven't figured out the right syntax.

is xcopy still the tool for this? I seem to recall Microsoft deprecating
it a few years ago in favor of something else.
<http://www.xxcopy.com/xcpymain.htm>

Very powerful, very fast. Free for non-commercial use.
 
Joined
Jan 31, 2014
Messages
2
Reaction score
0
If you need to remove duplicate file then you may use DuplicateFilesDeleter, it really works quickly to remove duplicate files.
good luck!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top