Combine Files with CMD

ID - _SMBUGFISH - E#64
^Top
<< Back
Mobile-Menu










Combine Files with CMD
Category: Windows
Sub-Category:
Creator: Bugfish
Created: 2020-11-19 12:54:46
Modified: 2025-09-18 21:27:33
Views: 631

Caution: 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.
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.

This Website is using Session Cookies for Site Functionality.