OMG... its working.
for /f "skip=%line1% tokens=1,2 delims=]" %%a in (dump.txt) do set "Boot1=%%b"&goto nextline :nextline for /f "skip=%line2% tokens=1,2 delims=]" %%a in (dump.txt) do set "Boot2=%%b"&goto nextline :nextline echo %boot1% - %boot2%