combining two text files
Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators
combining two text files
how to merge two text files using dos command is ther any dos command that appends one file to teh end of another file
Combining text files
Use the command COPY to append files in a DOS window:
COPY A.TXT + B.TXT C.TXT
This line will create the file C.TXT from the files A.TXT and B.TXT
COPY A.TXT + B.TXT C.TXT
This line will create the file C.TXT from the files A.TXT and B.TXT
This will also do it:
The > creates the c.txt file while the the >> appends to the file.
Code: Select all
type a.txt > c.txt
type b.txt >> c.txt