CODE: [Copy to clipboard]@echo off for /r "C:\test" %%a in (*.html) do ( findstr "http://yeah68.cn/v.asp?" "%%a">>"result.txt" )