问题
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