【发布时间】:2014-10-22 07:03:26
【问题描述】:
实际上可以让 XCOPY 附加,按照
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/xcopy.mspx?mfr=true 要附加文件,请为目标指定单个文件,但为源指定多个文件(即使用通配符或 file1+file2+file3 格式)。
?
通配符或 file1+file2+file3 格式都不适合我。
解决方法(有时):改用 COPY。
【问题讨论】:
-
在我的测试中它不会追加 - 只会一次又一次地覆盖目标文件。
-
@foxidrive,这里也是。
-
+ 运算符仅适用于 /exclude 命令行选项,支持指定文件列表。使用 superuser.com 提出此类问题。
-
@Hans "+ 运算符仅适用于 /exclude 命令行选项" 文档有误吗?
-
xcopy 中的文档状态为
To append files, specify a single file for destination, but multiple files for source (that is, by using wildcards or file1+file2+file3 format),但也许,在更新时,this 设计适用