1.

Solve : How to combine two text file using Dos??

Answer» HI Friends,

I need to combine two text file to one file.

For EXAMPLE:

a.txt file contains
Old is gold
All the best


b.txt file contain
World war
Happy bday


I need the output in c.txt. That o/p file should contain
Old is gold
All the best
World war
Happy bday



Note: When I tried with the command COPY a.txt+b.txt c.txt
which gives o/p as
Old is gold
All the bestWorld war
Happy bday


Actually I need the "World war" should ADD in new line...

Is it possible in DOS. If so will you please help me to resolve this issue...,

Thanks In Advance.

Thanks,
Vinoth R



Type A.txt > C.txt & echo. >> C.txt & type B.txt >> C.txt



Discussion

No Comment Found