Click to See Complete Forum and Search --> : File access time


adam straughan
May 5th, 1999, 09:12 AM
I wote a test app to list the last_access_time for files using the FindFirstFile group of functions.

When looking at the WIN32_FIND_DATA::ftLastAccessTime data in my test app, everything looked ok, but when I checked what Explorer thought the time should be I saw that the last_access_time had been updated to when my test app ran. My aim was to have a non-distructive method of checking this time information.

Has anyone got any ideas as to how to achive this?

adam

-------------------------------
Adam Straughan
Software Engineer
Cambridge, UK
-------------------------------

adam straughan
May 5th, 1999, 09:31 AM
Sorry, I didn't do enogh checking before posting. It looks like Explorer always modifies the time to now then reports the time as now, which is of use to neither man nor beast. FindFirstFile does not seem ot destroy the data.

adam

-------------------------------
Adam Straughan
Software Engineer
Cambridge, UK
-------------------------------