Skip to content

Instantly share code, notes, and snippets.

@vardars
Last active February 23, 2016 07:33
Show Gist options
  • Save vardars/c13db817f20b2519073f to your computer and use it in GitHub Desktop.
Save vardars/c13db817f20b2519073f to your computer and use it in GitHub Desktop.
Various Commands in Command Prompt
# 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