The code I found allows me to add text to every line of a txt file, but I would like to edit only the lines that begin with HTTP
@echo off
setLocal EnableDelayedExpansion
for /f "tokens=* delims= " %%a in (input.txt) do (
set /a N+=1
echo ^%%a^|User-Agent=Vlc>>output.txt
)