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

Author Topic: robocopy copy and save the replaced file in different folder?  (Read 2725 times)

0 Members and 1 Guest are viewing this topic.

miket11

    Topic Starter


    Greenhorn

    • Experience: Beginner
    • OS: Windows 10
    robocopy copy and save the replaced file in different folder?
    « on: December 20, 2018, 10:40:35 AM »
    Hi guys, I got another question. using robocopy command to copy from one location to another. when I copy something from one location to another it will replace the file with older time stamp or file size. but how can I make so that file that is replaced, instead of being replaced/deleted that it would be saved to a different folder?

    for example, I got 3 folders. I'm copying from folder1 a file name "file1" to folder2 which already has a file named "file1". typically the file1 in folder 2 would be replaced with file1 from folder1. but what I want to accomplish is to  have file1 from folder2 to be save to folder3 when file1 from folder1 is copied to folder2.

    Does this make sense?

    Thank you all in advance