Il giorno Tue 25 Apr 2017 10:36:45a, *Ammammata* ha inviato su
alt.msdos.batch.nt il messaggio
news:XnsA7626BFBCEB43am...@148.251.67.112. Vediamo cosa ha
scritto:
> I have several txt files I'd like to put together but with their name
> included before the actual txt
>
@echo off
for /r %%i in (*.txt) do (
if not %%~nxi == output.txt (
echo %%~nxi >> output.txt
type "%%i" >> output.txt
echo. >> output.txt
echo =================================================================== >>
output.txt
)
)
Address : <
http://www.tomshardware.co.uk/answers/id-2612574/merge-txt-
files-include-filenames-txtcollector-quit-working.html>