Just Code‎ > ‎

DOS CMD Prompt - Merge multiple text files into one big file

posted Sep 11, 2012, 1:29 AM by Peter Henell   [ updated Sep 11, 2012, 1:29 AM ]
Change the *.txt filter to match the files you wish to include in the merged file. Your new text file will be named NewMergedFile.txt.
FOR %I IN (*.txt) DO TYPE %I>> NewMergedFile.txt

Comments