Now, I am back to learn dos command again, in order to satisfy the project requirement :)

 

1. Merge files using Dos command

If there are 2 files (1.txt and 2.txt) in c:\Test folder, and I want merge them to another file(3. txt) in C:\Test folder

 

>> c

>>cd C:\Test

>>copy 1.txt+2.txt 3.txt

 

Remarks: there should be new line at the end of 1.txt

 

posted on 2009-08-15 01:22  袁礼定  阅读(243)  评论(0编辑  收藏  举报