過去日付ファイル作成

 

(22)

touch -t 200301020304.05 test.txt
ls --full-time test.txt
stat test.txt

(11)

touch -t 200301020304.05 test.txt
ls --full-time test.txt
stat test.txt

(RL9)

touch -t 200301020304.05 test.txt
ls --full-time test.txt
stat test.txt

 

(2022)
https://qiita.com/wataruf01/items/d51194e83844e2c2d636
https://www.haruru29.net/blog/how-to-get-file-information-using-powershell/


New-Item test.txt -type file

Set-ItemProperty test.txt -name CreationTime -value '2003/01/02 03:04:05'
Set-ItemProperty test.txt -name LastWriteTime -value '2003/01/02 03:04:05'
Set-ItemProperty test.txt -name LastAccessTime -value '2003/01/02 03:04:05'

Get-ItemProperty test.txt | Select-Object *