修改文件时间属性

@ECHO OFF
powershell.exe -command "ls 'D:新建文本文档.txt' | foreach-object { $_.LastWriteTime = '2020-05-01'; $_.CreationTime = '2020-06-01' }"
PAUSE

原文地址:https://www.cnblogs.com/luoxueningchen/p/12762404.html