Powershell Tip #142: How to concatenate two text files

By | November 28, 2018

Tip: You can contenate two text files in PowerShell.

Here there is one folder with 3 files.

Concatenate two files (File1 + File2) and save to the file File1andFile2.txt

You can concatenate three files having different prefix names and save to the file All.txt

Note: You can also use the -Encoding parameter


previous-buttonnext-button

Leave a Reply

Your email address will not be published.