1.

Solve : Batch file to copy only files that do not exist OR answer no to overwrite?

Answer»

Hi,

I have two directories: source and destination. Is there a way I can copy only new files that EXIST in Source, but not in the destination? Basically to MIRROR them up.

OR, is there a way I can have the batch file answer NO when asked to overwrite? I'm thinking just write a basic copy C:\source C:\destination and answer NO when asked to overwrite each file. I can use the /y OPTION but that just overwrites ANYWAY. LOOKING for a way to skip the overwrite.

Thanks!

B



Discussion

No Comment Found