Last active
November 24, 2015 09:54
-
-
Save alantsai/ae4fdb605d83af5a00cb to your computer and use it in GitHub Desktop.
Set specific LastWriteTime (Modified Time) of a directory child file. 把資料夾下面檔案的最後修改時間改成特定時間. #powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 日期格式是 dd/MM/yyyy HH:mm | |
dir -file -recurse | % { $_.LastWriteTime = '11/19/2015 14:20' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment