top of page

Windows TYPE command to combine files


You can use the Windows command TYPE to command multiple text files. In this example we have a folder of multiple text files and we want to merge the content of each into a single text file.

Enter the command TYPE followed by a wildcard search for text files and then designate a new text file to contain the content of the source files:

>TYPE *.txt >combine.txt

The names of the source files will be listed in command prompt and the new 'combine.txt' file will have their content.


bottom of page