I need to create a script, which concatenates multiple text files into one. I know it\'s simple to use
type *.txt > merged.txt
But the require
cat "input files" > "output files"
This works in PowerShell, which is the Windows preferred shell in current Windows versions, therefore it works. It is also the only version of the answers above to work with large files, where 'type' or 'copy' fails.