RSS

December 10, 2009

<.Bat>Combine Multiple TextFiles In One

1) Open Notepad
2) Copy the code below:

@echo off>merge.txt
for /r /d %%a in (.) do copy/b merge.txt+"%%a\*.txt" merge.txt
3) Save it as a .bat file...and its done!

Here's the link to the created .Bat file: Download

Change *.txt to *.bat For Saving Multiple Batch File's Code Into a Single TextFile

0 comments: