What can change a file created/modified date?

Viewed 8995

I'm using a file modified date as a base for file names in via C#. My question is what can make the modified date to change? I actually thought the modified date was the created date first. But the created date is changing when I move the file from USB to harddrive. So I had to use the modified date which has the correct, untoched date.

As I thought when the file was moved the modified date was changed but its actually the created date that is changed in Windows 7 at least.

Is there any use case that may change the date of the file (except unpacking it from a zipped file) surprisingly? Like maybe from DVD to harddrive or something like that?

Best regards Mr Rob

2 Answers

I believe that the modification date would be changed when the file contents change.

Related