How to merge all .txt files into one using ps? - IT Programming

PHOTO EMBED

Tue Dec 05 2023 23:59:18 GMT+0000 (Coordinated Universal Time)

Saved by @baamn

dir "C:\path\to\files" -include *.txt -rec | gc | out-file "C:\path\to\output\file\joined.txt"
content_copyCOPY

https://community.spiceworks.com/topic/900079-how-to-merge-all-txt-files-into-one-using-type-and-insert-new-line-after-each