Combine Files with CMD

Article 64 in Windows

2020-11-19 12:54:46 from bugfish
Combine Files with CMD
Windows / CMD
Last Review on: 2021-10-26 00:15:16 | Hits: 253
Here an example how to combine multiple text files into one large text file.
Here a imaginary situation: you have 3 text files named [text1.txt] [text2.txt] [text3.txt]
You want to combine these files into one single file named: [textall.txt]
You can use this quick and easy windows command in cmd console for is, just navigate to the directory and run:

type text*.txt > textall.txt

Now you have a textfile "textall.txt" in the same directory - which contains all the text from the 3 text files.

I do not guarantee the reliability of the information given here, the code described on this page is executed at your own risk and in the event of damage or other unforeseeable consequences I am in no way responsible or liable.
Currently 2 Upvotes!
captcha image
System - 2021-06-18 03:54:44
We appreciate comments on our site!

This Website is using Session Cookies for Site Functionality and AWStats.