combining two text files

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Post Reply
lauraselva

combining two text files

Post by lauraselva » Thu Mar 25, 2004 11:04 pm

how to merge two text files using dos command is ther any dos command that appends one file to teh end of another file

Bertil E

Combining text files

Post by Bertil E » Tue Mar 30, 2004 5:51 am

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

JussiJ

Post by JussiJ » Wed Dec 01, 2004 10:19 pm

This will also do it:

Code: Select all

type a.txt > c.txt
type b.txt >> c.txt

The > creates the c.txt file while the the >> appends to the file.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest