Folder date auto change problem

English support forum

Moderators: Stefan2, white, sheep, Hacker

Post Reply
giagor
New Member
New Member
Posts: 1
Joined: 2019-03-02, 07:45 UTC

Folder date auto change problem

Post by *giagor » 2019-03-02, 07:56 UTC

I just realize that every time when I open some Word document, Excel spreadsheet, AutoCAD drawing, date of creation of folder changed to actual date and time.

It doesn't happened when I open images, txt documents, PDF.

I am using Windows 10 64bit, TC 9.21a 64bit.

User avatar
Stefan2
Power Member
Power Member
Posts: 2433
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Folder date auto change problem

Post by *Stefan2 » 2019-03-02, 08:11 UTC

Probably because of the meta data such programs store in the files.
If you open a excel file, the timestamp of that file is changed to current,
if you close without modification, the timestamp is set back.
But maybe you or something else modified something ?



 

User avatar
sqa_wizard
Power Member
Power Member
Posts: 3449
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: Folder date auto change problem

Post by *sqa_wizard » 2019-03-02, 14:12 UTC

Stefan2 wrote:If you open a excel file, the timestamp of that file is changed to current,
if you close without modification, the timestamp is set back.
In addition it is a "feature" of the NTFS filesystem to set the date of folder to current, if a file is changed there.

In case of of Excel, Word, ... the file date changes for a short while ==> folder date is changed to current time by NTFS
In case of others the file date remains unchanged ==> folder date remains unchanged.
#5767 Personal license

User avatar
Dalai
Power Member
Power Member
Posts: 6532
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Folder date auto change problem

Post by *Dalai » 2019-03-02, 20:57 UTC

The reason is simple: MS Office creates a temporary file in the directory the document is located in. Just open a document and switch back to TC while the document is open. AutoCAD might behave the same, but since I don't know it I can't say anything about it.

The temporary file is deleted once the document is closed. Any delete operation updates the directory timestamp, which is normal NTFS behavior.

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

User avatar
obeg
Junior Member
Junior Member
Posts: 33
Joined: 2006-09-28, 09:20 UTC
Location: Sweden

Re: Folder date auto change problem

Post by *obeg » 2019-03-04, 10:03 UTC

Just as Dalai says, it is a temporary file causing this behaviour. The file is hidden and by default Windows doesn't show these files.

In Explorer they can be seen by changing "Folder Options" and select "Show hidden files, folders, and drives"
(last "," is a spelling error from Windows and not from me :-) )

In Total Commander they are enabled in the Configuration, Display tab => "Show hidden files"

For MS Office files, the hidden filenames start with ~$ and if you view them in lister you will see that they contain information about which user that have it open.

br /ola

Post Reply