I looked for hours. I would think this question was asked many time before. Here it goes:
So the computer hard drive is defective.
Bought a new one.
After installing the new HDD inside the computer, I copied all the family stuff from one drive to the other.
Basically, a lot of folders with files inside, like pictures and videos.
Each folder has some descriptive name, like "Christmas 09 in Maine" for example. Inside would be a bunch of media. It doesn't matter. Just 1 file or 10. Videos or pictures or both. The contents does not matter.
The problem are the folder timestamps. When doing a straight drag n drop, Windows changes the FOLDERS date(s), specifically DATE MODIFIED.
Now all the folders in the new HDD have the same DATE MODIFIED, which is the date I copied all from the old HHD to the new one. Fortunately, Windows does NOT change this date modified in the FILES inside these folders.
I have way too many folders here. And it took a long time to copy all this. So now I am wondering how to restore the FOLDER's DATE (CREATED, MODIFIED & ACCESSED) to any date of any of the files inside. All the files inside each folder have very close DATES, so it does not matter which one it picks.
The idea is that the folders will again be able to be sorted out by the original date, or very close to it. And I would prefer to change all THREE attributes (CREATED, MODIFIED & ACCESSED), just in case, so if its sorted using any of them, it will come out the same.
I have been able to manually open ONE folder File timestamp (Special (14)). But it takes a long time to set all three and save, for just one folder.
Is there a way to automate:
1. select first folder, and go inside
2. select first available file (any file), read (DATE MODIFIED) from this file
3. go back up one level to the folder (containing this file)
4. change folder attributes (CREATED, MODIFIED & ACCESSED) to the same DATE MODIFIED from step 2.
5. save folder's attributes
repeat with next folder until all folders done....?
I think this may happen a lot, perhaps someone can point me to the solution? I could not find it.
Thank you all !