How to combine text files into one with single file with Windows command

Here is the simplest way you can combine multiple text files into one single file.

  1. Move all the text files you want to be merged into one folder.
  2. Move that folder to C:\ and name it “temp”.
  3. Rename all the text files in order such as text1.txt, text2.txt text3.txt etc.
  4. Open command prompt by clicking start and typing “cmd”.
  5. Once the black box pops up type the following “cd..” and click enter. Type “cd..” once more and click enter.
  6. Now type “cd temp” and click enter.
  7. Now that we are in the correct folder to type the command to combine all the text files into one.
  8. Type the following “copy *.txt target.txt” – you can replace “target.txt” with whatever you want the new combined file to be named.

Once completed you will now have everything in one single .txt file.

Published by

Ryan Kessen

Computer Repair, Freelancer, Blogger, Reviewer and all around nice guy!

2 thoughts on “How to combine text files into one with single file with Windows command”

  1. well thanks babe, you just saved me copypastaing 169 giant txt files (around 130,000 lines a peice)

Comments are closed.