“修改日期”的规则的Windows资源管理器中的文件夹 [英] Rules for "Date Modified" of folders in Windows Explorer

查看:351
本文介绍了“修改日期”的规则的Windows资源管理器中的文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows资源管理器如何确定文件夹的修改日期字段? [另外:我知道这是从探险家的具体角度来询问,但行为可能对编码搜索/排序类型活动很有用]

How does Windows Explorer determine the "Date Modified" field for folders? [Aside: I know this is asking from an explorer-specific perspective, but the behaviour could be useful to coding search/sort type activities]

是否有任何地方的最终描述 - 微软,MSDN,Google&堆栈溢出不成功。

Is there a definitive description of this anywhere - searches of Microsoft, MSDN, Google & Stack Overflow have been unsuccessful.

个人实验似乎建议在一棵文件夹树中:

Personal experiments seem to suggest that in a tree of folders:


  1. 当文件夹中添加/删除文件夹/文件时,修改的包含文件夹的日期已更新。

  2. 被修改,包含的文件夹不受影响

  1. when a folder/file is added/deleted in a folder, the containing folder's date modified is updated.
  2. when the content of a file is modified, the containing folder is unaffected

但是,我正在看一些似乎不符合这些基本规则 - 在树下运行(日期为DD / MM / YYYY格式):

However, I'm looking at some directories that don't seem to conform to these basic rules - running down the tree I have (dates in DD/MM/YYYY format):

folder     (date created:  2/2/2006, date modified: 2/3/2006)
  folder   (date created:  2/2/2006, date modified: 2/3/2006)
    folder (date created:  2/2/2006, date modified: 1/6/2009)
      file (date created: 27/3/2009, date modified: 2/2/2006)


推荐答案

这不是具体的资源管理器,这是NTFS相关的。

This is not explorer specific, this is NTFS-related.

请参阅 http://support.microsoft.com/kb/299648 某些规则。

注意:可以使用filesystem选项禁用修改的时间,因此您不应该依赖它。任何建议的可靠方法将不胜感激。

Note: Modified time can be disabled with filesystem option, so you should never rely on it. Any suggested reliable methods would be appreciated.

这篇关于“修改日期”的规则的Windows资源管理器中的文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆