Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: "Date Modified" changes on original file when copying

16 Apr 2014   #41
crashnbuen

WinXP/ Win7x64/ Mac OSX Snow Leopard - Multi Boot
 
 

Quote   Quote: Originally Posted by Kaktussoft View Post
Quote   Quote: Originally Posted by crashnbuen View Post
I'd always wanted to be able to MOVE files & folders between different HDDs and Partitions without the C & M dates changing. It's crucial for me to have those dates for HISTORICAL tracking / REMEMBERING purpose.
Use ROBOCOPY for that
Actually, I use a combination of TeraCopy and RichCopy (runs Robocopy in the back) as both miss certain things but I do a 2 or 3 step layering and Folders and Files are 99% cloned with C & M dates:
RC > TC > RC


My System SpecsSystem Spec
.
22 Sep 2014   #42
TeKola

Windows 7 Professional
 
 
Modified Date changes by just viewing a file

Windows 7 changes the modified date on a file if you just open it to view it.
This has very bad results since we search for files by when they were last "Modified"
I opened a file in Excel and its modified date changes to today even though no modifications are made.
This is a travesty of a moronic operating system.
My System SpecsSystem Spec
23 Sep 2014   #43
logicearth

Windows 10 Pro (x64)
 
 

Quote   Quote: Originally Posted by TeKola View Post
Windows 7 changes the modified date on a file if you just open it to view it.
This has very bad results since we search for files by when they were last "Modified"
I opened a file in Excel and its modified date changes to today even though no modifications are made.
This is a travesty of a moronic operating system.
That is an application problem, not an operating system problem. And the application could be modifying in the background, hard to say, unless you do a hash compare.
My System SpecsSystem Spec
.

23 Sep 2014   #44
LMiller7

Windows 7 Pro 64 bit
 
 

Windows does NOT change the modified time when the file is merely read. This is confirmed by observation. I will not comment on what Excel might be doing. The access time would change in this case, if it was being updated. But for performance reasons Vista and later does not update access datestamps. Again, confirmed by observation.
My System SpecsSystem Spec
05 Oct 2014   #45
Zoandar

Windows 7 x64 bit Home Premium
 
 

To add to this discussion, the reason I am here is that I am seeking a way to prevent the "Date Modified" data from changing on a FOLDER when several of its files are deleted.

This might seem strange, but the reasoning has to do with how I have been working for years to create custom photorealistic scenery for my MS Flight Simulator X setup. Each state has dozens of files which I have uniquely named by either a proximity to a town, lake, river, etc. Since I obviously don't know the entire geographical names and layout of every tiny landmark across the country, the ONLY way I can keep track of where to find these files in my backups is by the creation DATE and TIME, so I can correlate them with a log I keep.

Once I have the folder in place in FSX and have made a backup to bluray, I delete the dozen files used to build that segment (amounting to multiple GB of files) from that folder on the SSD running FSX. It only needs the final scenery BGL file I had generated to use. I do this to preserve space on the SSD. But once I "clean house" on a folder of a single scenery segment, Win7 changes its date, throwing it's chronological location in my project out the window. So I have been manually re-setting the Modified Date on every folder, but that is a pain to do. I'd like to find a file utility that will let me delete files in a folder without modifying the folder's "modified date".

Does anyone know of a utility that can do that?
My System SpecsSystem Spec
06 Dec 2014   #46
periboob

Windows 7 Pro 64
 
 

Not exactly what you are asking for, but a workaround. A nice set of utilities from StahlWorks Technologies - Software Tools For Professionals is SFK (swiss file knife), a command line utility that includes "touch". So using a command line like
Code:
sfk touch -date 20140101010000 "new folder"
lets you reset the date on your folder to what ever you want.
My System SpecsSystem Spec
07 Dec 2014   #47
Zoandar

Windows 7 x64 bit Home Premium
 
 

Quote   Quote: Originally Posted by periboob View Post
Not exactly what you are asking for, but a workaround. A nice set of utilities from StahlWorks Technologies - Software Tools For Professionals is SFK (swiss file knife), a command line utility that includes "touch". So using a command line like
Code:
sfk touch -date 20140101010000 "new folder"
lets you reset the date on your folder to what ever you want.
Thanks, but I have been using Attribute Changer to change the dates individually like that, after I access each folder. However, I'd like not to have to do that. I'd like to tell Windows not to change the "modified" date at all.
My System SpecsSystem Spec
27 Jan 2015   #48
TheAncient

Windows 7 Ultimate x64
 
 

I am currently facing a problem that appears to be related to this thread. In my case though, SOME (not all) files, upon copy, do not retain their original modified and last saved dates.

I have been trying to create an EXACT copy of a directory and the hierarchy below it. The problem is, that in some cases the date modified and date last saved are changed to the current date.
When, using FreeFileSync, I attempt to verify that the copy is indeed exact, multiple files are listed where the modified and last saved dates have changed from the original dates to the current dates. If I actually synchronize the files using either the "mirror" or the "update" functions of FreeFileSync, the modified and last saved dates will still differ from the dates on the original files. Thus, I can synchronize as often as I want but I will still end up with files where the dates/times differ from the original.
I understand some utilities can - supposedly - overcome this shortfall of the Windows operating system: Xcopy, Robocopy, XXCopy all claim to be able to retain the original dates. Their command syntax has specific switches to accomplish just that but, while this works for SOME files, it does not work for others. I have attached a screen shot showing the details for one of those problem files in both, the Source directory (the directory I am copying FROM) and in a directory created using XXCopy using the switches /TCA /TCC /TCW (I tried /Backup as well with the same results). All other files visible in the screen shot have retained their original dates.
I would appreciate any insights WHY this is happening for some files but not for others and any ideas how I can overcome this problem and end up with an exact copy of my directory structure.
(OS is Win7-64, Source and Destination drives are both local. The account used for the copy operations is an Administrator account.)


Attached Thumbnails
"Date Modified" changes on original file when copying-screenshot.jpg  
My System SpecsSystem Spec
Reply

 "Date Modified" changes on original file when copying




Thread Tools




Similar help and support threads
Thread Forum
"Date Modified" doesn't change after Overwrite
Just recently, I've noticed an issue where the directory field "Date Modified" does not change after a copy/paste/overwrite using Windows Explorer. Background Info: To update images on several websites, I've been simply overwriting the old image files and syncing via DreamWeaver. I believe this...
General Discussion
How to change "Date modified" in folders
XP used to have several choices of date modified times - such as 'Recently',' Last Month' etc. I only have 'Earlier this year' and 'A long time ago'. This is not helpful! Is it possible to change these very limited options to give a clearer idea of how old the files are?
Customization
Windows Photo Gallery "Modified" date
I've used Picasa for years, and loved everything about it. In the past few months, however, I've also been trying to try and use more Windows programs, like jumping on the new @outlook.com address and SkyDrive, but I have a big nitpick issue when I try and use Windows Photo Gallery. I love...
Music, Pictures & Video
How to manuallly edit "Date Modified" information?
Running 7x64 up to date. I like to sort the contents of some folders by "Date Modified," But, I'd also like certain items within that folder to appear in a different order than by date. Is it possible to manually modify the "Date Modified" information, so that the items I wish to appear in...
Customization
"easy transfer" resets folder modified date
I just installed Windows 7 (Pro 64bit) on my desktop and ran W.E.T. to transfer my files from my Vista installation. The files have maintained their modified date/timestamp, but the folders' modified-date have all been reset to the current date (actually not quite all of them - empty folders have...
General Discussion
"Date Modified" changes when copying...
When copying a folder from one drive to another the Date Modified changes to the current date/time. I want to keep the original date/time, is this possible?
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 16:47.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App