====== 41 Windows 更新日時を変更 ====== Windows の場合、Linuxのように [[02_freebsd:80_unixコマンド:touch|touch]] コマンドもないので PowerShell 下記のようにで行う。 更新日時 Set-ItemProperty "C:\hoge.txt" -Name LastWriteTime -Value "2015/01/01 10:20:30" 作成日時 Set-ItemProperty "C:\hoge.txt" -Name CreationTime -Value "2015/01/01 10:20:30" アクセス日時 Set-ItemProperty "C:\hoge.txt" -Name LastAccessTime -Value "2015/01/01 10:20:30" {{tag>windows}}