Announcement
Collapse
No announcement yet.
CommentsOn: File or Folder List … posted code
Collapse
X
-
Originally posted by Stanley Durham View PostLastAccessTime is worthless, if you get the list, that will be the LastAccessTime.
However, if you do something else with the directory (such as open it in Explorer) , your AV is likely to scan any risky files there such as executables and their LastAccess will be updated
Comment
-
-
Just a suggestion: Your primary drive(s) are likely to be NTFS, so filetimes will be UTC.
You may llike to consider converting to local time for display purposes::
Code:FOR x = 1 TO FListCount(list) pt.FileTime = FListGetCreationTime(list, x) pt.ToLocalTime SS FORMAT$(x) +": "+ $DQ + FListGetName(list, x) + $DQ + " ....... CreationTime: " + pt.DateStringLong() + ", " + pt.TimeString24() NEXT x
Comment
-
-
Originally posted by Stanley Durham View Post> ??? DIR$() doesn't affect LastAccessTime. That is always the time the file was last opened or closed.
Might be something wrong with the way I used it. I’ll take a look.
Comment
-
Comment