0
PowerShell上下文菜单脚本块
Windows注册表编辑器版本5.00 [HKEY_CLASSES_ROOT * \ shell \ FileDateTime] @ =“文件日期时间属性(一次1个文件)” [HKEY_CLASSES_ROOT * \ shell \ FileDateTime \ command] @ =“powershell.exe $ Filename = Get-ChildItem \\”\“%1 \\”\“; $ TEMP2 =($(Get-Date)。年)+1 ; $ TEMP = \\“\”1月1日,{0} 12:00:00 AM \\“\” - f $ TEMP2; $ Filename.creationtime = $ TEMP; $ Filename.lastaccesstime = $ TEMP; …