Created
May 22, 2014 06:22
-
-
Save viveksoundrapandi/5f45121e08f650c37235 to your computer and use it in GitHub Desktop.
merge text files in a directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for %f in (*.txt) do type "%f" >> output.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The for loop will traverse through all text files in a directory and sends the merged output to a text file called output