How to change the “date modified” of any file in Vista home premium? [closed]

耗尽温柔 提交于 2019-12-10 10:15:19

问题


In windows vista, how can i change the filed "date modified", of any file(text/binary) without editing it? I mean by just changing some of its properties.

In Win-XP if one had to change date of any file(text, binary), in the file properties menu, one could add any string in one of the fields like Author, Comment, summary and save that string. the file would show up the latest date and time as date modified. That is what i am looking to get in Windows Vista home premium using windows settings or registry etc, but without any third party tools/programs which need to be installed.

-Ajit


回答1:


I found the following Command Prompt command that performs the equivalent to the Unix "touch", that will update the modified date:

copy /b test.txt +,,


来源:https://stackoverflow.com/questions/1190250/how-to-change-the-date-modified-of-any-file-in-vista-home-premium

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!