让 XCOPY 连接(追加)

Chr*_*sJJ 6 cmd windows-7

根据实际情况,实际上可以附加 XCOPY

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/xcopy.mspx?mfr=true 要追加文件,请为目标指定一个文件,但为源指定多个文件(即,通过使用通配符或 file1+file2+file3 格式)。

?

通配符或 file1+file2+file3 格式都不适合我。

解决方法(有时):改用 COPY。

小智 3

如果我没猜错的话,你想将文件合并为一个。对于文本文件我会使用:

FOR /R %%f in (file*) DO TYPE %%f >> bigfile
Run Code Online (Sandbox Code Playgroud)

  • 谢谢。首先确保大文件为空。 (2认同)