Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用当前代码复制文件:
xcopy /s /d:[date] source target
如何获得 N 天前的日期?
也许 robocopy 是合适的。
c:\>set N=0 c:\>robocopy srcdir dstdir foo.* /MINAGE:%N% /MAXAGE:%N%