RJK.world

Entrepreneur, Blogger, Reviewer, Electronics Repair and all around nice guy!

May 8, 2013 - Comments - archive how to's

How to Combine Text files into single file in Windows with CMD

post image

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.

The full command would look like this:

Windows Command Prompt
1
$ copy *.txt target.txt

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

Tags: windows cmd

comments powered by Disqus