
| Quote: | |
|
CODE: [Copy to clipboard]@echo off
for /f "delims=" %%a in ('dir/b *.html') do (
for /f "delims=<> tokens=2" %%i in ('findstr /i "<title>.*</title>" %%a') do (
ren "%%a" "%%i.html"
)
)
pause
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |