「複数のテキストファイルを一つにまとめるにはどうしたらいいですか?」 「大量のファイルを結合する簡単な方法はありませんか?」 というご質問をいただくことがあります。 例えば、毎日新しいログファイルが作成されるようなシステムを管理しなければならないような立場の方から、こんなご質問をいただきます。 こういった処理は、WSH(Windows Script Host)などでループ処理をしないとできないと、思い込んでいる方もいらっしゃるようですが、ただ一つにまとめるだけよいのならば、コマンドプロンプトでも処理できてしまいます。