Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Somehow, all my mp3 and jpg images on my backup network drive are fine, but my local computer has the creation time BIGGER then the modified time (modified time is the right one).

Now, every time I want to create backup (using robocopy) it copies everything because he thinks the files are newer!

How do I fix all the local files to have Creation time = Modified time ?

OS: Windows 7 64 bit

share|improve this question
1  
Is this on VMS or OS/400? –  Dennis Williamson Dec 20 '10 at 2:14
    
@Dennis There's only one OS that does Robocopy, so it's quite obviously OS3.1. –  digitxp Dec 20 '10 at 2:25
    
updated: Win 7 64 bit –  csmba Dec 20 '10 at 3:23

2 Answers 2

See this article:

Changing the date on a file is actually quite complicated if you try to do it yourself, but thankfully there are a few really nice freeware applications that can get the job done for you quickly and easily. I’m going to quickly go through three different apps each that do pretty much the same thing, but I’d rather mention more than less just in case one does not work for you.

share|improve this answer
    
none of those apps lets you do what I want (creation = modified) as far as I can tell –  csmba Dec 21 '10 at 6:02

That's an odd problem, I thought Robocopy used the modified date. The dates are like that because the creation time is the time that version of the file was created. So if you create a file, modify it and then copy it an hour later, that new copy will have a modified date 1 hour earlier than the creation date.

There is a CLI app called DirDate that can do this, it has a 30 day trial. You will need to script it to loop through each file individually though as the reference date must be hardcoded on the command line.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.