@echo off
for %%a in (*.html) do (
set a=%%a&set c=%%~na
for /F "usebackq delims=" %%b in ("%%a") do (
set b=%%b
setlocal enabledelayedexpansion
if /i "!b:~0,7!!b:~-8!"=="<TITLE></TITLE>" for /f "delims=" %%c in ('more +10^<"%~fs0"') do echo.%%c
Endlocal
))>>out.txt
exit
<td><DIV><B>!b:~7,-8! </B></DIV>
<DIV><A HREF="!a!"><IMG BORDER=1 ALT="!c! Traffic Graph" SRC="碧昂两B-day.png"></A><BR>
<SMALL><^!--#flastmod file="!a!" --></SMALL></DIV>
条件1:操作当前目录
条件2:所有被处理文件为ANSI编码
条件3:<TITLE>Aux6/0/1 -- hdw-S8512-1</TITLE>的行首行尾没有其他任何字符