How to merge two text files

fileinputtextinput

I have a 200 MB text file. But, I need to test my program on bigger text files. Is it possible to merge two text files?
I can not open the file, to copy and paste it into another. I need different solution.

Best Answer

What programming language are you using? Because you could just read both text files into a program, then write each to an output stream and save as a file.

Otherwise, if it's DOS you're after, try

copy file1.ext+file2.ext target.ext