複製檔案並更改日期屬性(複製日期) - Windows

Table of Contents

如題...

windows 7 上面是否有 command (copy/xcocpy/robocopy 之類的)

可以在複製檔案的同時修改檔案的“修改日期“ 為複製當下的日期時間呢?

希望是可以單純windows 7內建的command就能做到的

而不是使用另外的軟體 @@~

謝謝

--

All Comments

Necoo avatarNecoo2014-06-02
technet.microsoft.com/en-us/library/bb490886.aspx
Changing the time and date of a file 一節提到
copy /b Source+,, 即可更改修改時間為現在
Bethany avatarBethany2014-06-02
逗號表示省略目標檔名, 因此檔案不會動但時間改了
Rachel avatarRachel2014-06-03
但注意這個不能跨路徑, 否則檔案還是會被複製一份到
當前工作目錄