Last active
February 23, 2016 07:33
-
-
Save vardars/c13db817f20b2519073f to your computer and use it in GitHub Desktop.
Various Commands in Command Prompt
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
# merge text files into one | |
# for %f in (*.txt) do type "%f" >> output.txt # v1 | |
forfiles /p C:\input\ /s /m *.txt /c "cmd /c type @file >> C:\output\output.txt" #v2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment