windows下修改文件时间

set t '07/22/2022 18:01:00'
echo $t

ls *.flag | foreach-object { $_.LastWriteTime = $t;$_.CreationTime = $t;$_.LastAccessTime = $t}

posted @ 2022-07-20 16:08  TIMLONG  阅读(246)  评论(0编辑  收藏  举报