标签: windows file batch-file
如何使用批处理文件更改Windows中文件的“已修改”时间戳?
答案 0 :(得分:3)
如果你安装了cygwin并且在PATH上你可以使用touch命令:
touch
touch -d "date and time" filename
(省略-d标志以使用当前日期和时间。)
或者,请参阅此问题的答案:https://stackoverflow.com/questions/51435/windows-version-of-the-unix-touch-command