How to Quickly Concatenate Two Text Files in Windows PowerShell

You are here

Can be done using this:

type file1.txt,file2.txt -Encoding UTF8 >> out.txt

However, this will not overwrite the out.txt, but just add new lines to the already existing files.

/