By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,740 Members | 790 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,740 IT Pros & Developers. It's quick & easy.

ftLastAccessTime isn't really Last Access Time ?

P: n/a
My customer has asked for an email notification when a file has been sitting
in a directory for too long without being accessed.

Using FindFirstFile and FindNextFile the ftLastAccessTime IS NOT UPDATED if
a file is opened using notepad or InternetExplorer. The LastAccessTime IS
UPDATED if you open the file with Word, Adobe, or get the file properties.

What is ftLastAccessTime really, if it isn't Last Access Time?

This is Microsoft case number SRX041108602810
Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi =?Utf-8?B?QmlsbCBHaWJzb24=?=,
Using FindFirstFile and FindNextFile the ftLastAccessTime IS NOT
UPDATED if a file is opened using notepad or InternetExplorer. The
LastAccessTime IS UPDATED if you open the file with Word, Adobe, or
get the file properties.


You are right!

But you are aware of the fact, that the user can disable the last-access
time?

Please execute the following on a command prompt:

"fsutil behavior query disablelastaccess"
See: Optimizing NTFS Performance
http://www.microsoft.com/resources/d...all/reskit/en-
us/prkc_fil_punq.asp
--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.