Question Locked

xcopy command. Can't find the right solution.

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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 [source] [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.

5 replies

by dr dij

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.

by lowlands

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

by dr dij

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.

This discussion is closed to new replies.