I'm searching for a script which can copy a file ONLY when the timestamp is updated.

Thanks in advance!

Kind regards,


  • Not clear: Don't describe a complicated process when you are asking for only one script. Please limit the discussion for this one script and what it should do. – harrymc Feb 8 at 10:49
  • 1
    If the time stamp is being updated on a file in Folder 2, that means the archive attribute has been set. When you copy a file from one folder to another you can have the archive attribute turned off on the source. I believe XCOPY and ROBOCOPY can both do this. – Squashman Feb 8 at 20:24
  • Hey @harrymc i've updated the question. Thanks for your reply. – Flaxbourne Feb 11 at 6:32
  • @squashman Thanks for your answer, i will look into it! :) – Flaxbourne Feb 11 at 6:32

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.