Combine multiple text files and produce a new single text file using PowerShell? - Stack Overflow

PHOTO EMBED

Tue Dec 05 2023 22:10:11 GMT+0000 (Coordinated Universal Time)

Saved by @baamn

dir C:\folder* -include *.txt -rec | gc | out-file C:\result.txt
content_copyCOPY

https://stackoverflow.com/questions/40286458/combine-multiple-text-files-and-produce-a-new-single-text-file-using-powershell