Question

Locked

xcopy command. Can't find the right solution.

By kin_mche ·
Hi,

I'm using XP and can't seem to find the right set of parameters to satisfy what I'm trying to do.

I want to copy files, directories and sub-directories from a source to a destination. BUT if the file name already exists in the destination I don't want to overwrite, I just want to write the files and directories that do not exist to the destination.

Right now I'm using "xcopy [destination] /e /-y". This works but I have to click No to overwrite on each file that already exists on the destination.

Any ideas would be cool. Thanks.

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

This looks like a job for...

by Dr Dij In reply to xcopy command. Can't find ...

xxcopy

download it, has 20 pages of options and switches.

will log what did copy, or what didn't copy or both, to one or sept files, will flatten dirs or not, keep dates or not, you get the idea.

Collapse -

or use

by lowlands In reply to This looks like a job for ...

robocopy. It has a mirror option. Or you can tell it not to copy files that are older then in the destination.

Collapse -

This looks like a job for...

by Dr Dij In reply to xcopy command. Can't find ...

xxcopy

download it, has 20 pages of options and switches.

will log what did copy, or what didn't copy or both, to one or sept files, will flatten dirs or not, keep dates or not, you get the idea.

Collapse -

Right on!

by kin_mche In reply to This looks like a job for ...

Thank you. This is very helpful.

Back to Software Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums