Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REM ## this is a nice little snippet that will take all of the files ending in .txt found inside the txts\ folder and merge them into 1 long text file. By Stacey Tipton Reiman www.akwebgenius.com/blog ##
- @echo off
- setlocal ENABLEDELAYEDEXPANSION
- FOR %%f in (txts\*.txt) do (
- set fileout=mergedtext.txt
- type "%%f" >> !fileout!
- )
- )
- cls
- endlocal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement