Page 1 of 1

Is it possible to retain the created/modified/accessed dates of a folder when...

Posted: 30 Sep 2024 01:02
by Megalith
...you're overwriting it with a folder that has the same file name? I guess the setting I'm looking for is "Do not replace original folder if being overwritten with one that has the same file name."

Re: Is it possible to retain the created/modified/accessed dates of a folder when...

Posted: 30 Sep 2024 10:54
by admin
Not possible without scripting. On Custom Copy with "Preserve all item dates" all three dates are copied from the source to the target, and without "Preserve all item dates" the Modified and Accessed date in the target are updated to now.

You could do it with scripting using SC filetime to get the current dates, then copy the folders, and the SC timestamp to reset the dates to the original ones.