Link to home
Start Free TrialLog in
Avatar of RadioGeorge
RadioGeorgeFlag for United States of America

asked on

How and Why are my file dates and times being changed automatically?

I made a backup copy of a 1TB hard drive on a new, clean 1TB hard drive (let's call it Drive B) a few days ago. No hassles, no problems.

Today, 5/17/2018, I went to move some files from Drive B into my laptop to do a little work on them. These files were in a folder on the first drive:

Past Years/2016/Previous Months/08/27/shows

After I made the corrections I saved the files back to the SAME folder. Later, I went back in to check them and saw that the dates of ALL the files in that folder--including the ones I never touched when I worked on the few that I did--showed the date information as: Date Created 5/17/18.

What the heck is going on here?

How does the date get changed on files like this? This makes replacing some files with the same name a really confuding task!!!
Avatar of Dr. Klahn
Dr. Klahn

After I made the corrections I saved the files back to the SAME folder.

In NTFS there's creation time, modification time and access time.  Explorer shows the modification time, not the creation time or access time.

https://www.techrepublic.com/article/build-your-skills-learn-to-manipulate-file-time-stamps-in-windows/

All Windows file systems record the same three values:

    Time/Date Created: When you create a new file or directory, this value is set and does not normally change (unless you deliberately change it). If you make a new copy of a file and save it to a different location, it is treated as a new file and a new creation time stamp is set. Moving a file or simply renaming it does not create a new file, and thus does not give the file a new creation time stamp. (Note: It is possible to end up with a file that has a modification time that's earlier than its creation time when you make a new copy of a file.)
     Time/Date Modified:  This is also called the Last Written date. Whenever the contents of the file are changed, or files are added to or deleted from a directory, this time stamp changes. Renaming the file doesn’t change the modification time stamp. Neither does opening the file without making any changes to it.
    Time/Date Accessed:  This is supposed to show the last time the file was accessed, but experience proves that opening and reading a file without making changes does not immediately change this time stamp in Windows XP (this is because of the variance in resolution time mentioned earlier).

By default, Explorer shows the last modification time.   So what you saw is correct.

Explorer can be set to show all the times, not just the last modification time.  See the section headed "Viewing time stamps via Windows Explorer" in the link above.
Avatar of RadioGeorge

ASKER

OK, either my brain is fried or I did not state the question 100% properly. (And I was offline because of traveling the last two weeks as well, causing so much silence on my part.)

Let me restate the problem in another way...

Yesterday, I opened a vbs file Notepad, made a simple spelling correction, then saved the file and exited.

Today, I open the folder where that file was stored, to add something else to it, and when I opened that folder, I saw EVERY DOCUMENT in the folder had had its creation date ALSO changed to yesterday.

This is a HUGE nuisance. I do not recall messing with any computer settings that might have caused this, but I want it to stop.

Experts, what say you?
Well, I was waiting for a reply but maybe I did something wrong.

Shall we try again, anyone?
ASKER CERTIFIED SOLUTION
Avatar of Dr. Klahn
Dr. Klahn

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial