CODE: [Copy to clipboard]for /f "delims=" %%a in (a.txt) do find "%%a" b.txt 2>nul 1>nul||echo/%%a>>b.txt