|Hi. Thanks for quick reply. I see that I worded myself a little strangely there.|
I simply(difficultly?) want a batch that at the end of every text file in every subfolder, adds a line saying "made by abikan"
I had some luck with this code:
dir /b *.txt > text.txt
for /f "tokens=*" %%H in (text.txt) do call :sub1 %%H
ren "%1" "workFILE"
echo testing >> "workFILE"
ren "workFILE" "%1"
This worked nicely when it was just one folder, but as soon as text.txt got full paths, it wouldn't work anymore. So that's it; I wish you could help me with a code like that, but that it worked working with full paths. That is, I want something similar as the code above except that it works from the rootfolder and down.
Many thanks again for hopefully great help :)!