none
请问 : 如何才能让文件访问时间随打开文件的时间的变化而变化 ?? RRS feed

  • 问题

  •    

          有些计算机,打开文件,文件访问时间不变化。

          通过什么设置,能达到让文件访问时间随打开文件的时间的变化而变化。

    2009年1月20日 6:25

全部回复

  •  

    文件的访问时间不是即时更新的,而是在一段时间内随机更新的。

     

     

    Timestamps are updated at various times and for various reasons. The only guarantee about a file timestamp is that the file time is correctly reflected when the handle that makes the change is closed.

     

    Not all file systems can record creation and last access times, and not all file systems record them in the same manner. For example, the resolution of create time on FAT is 10 milliseconds, while write time has a resolution of 2 seconds and access time has a resolution of 1 day, so it is really the access date. The NTFS file system delays updates to the last access time for a file by up to 1 hour after the last access.

    2009年1月20日 8:12