Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Batch file to copy only files that do not exist OR answer no to overwrite  (Read 3692 times)

0 Members and 1 Guest are viewing this topic.

bmacbmac

    Topic Starter


    Greenhorn

    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