
| Quote: | |
|
| Quote: | |
|
| Quote: | |
|
CODE: [Copy to clipboard]set string=/bin/user
echo %string:/=#%p
CODE: [Copy to clipboard]@echo off&Setlocal EnableDelayedExpansion
for /f "tokens=1,2,4 delims=<>:" %%a in ('findstr /i "<title>.*</title>" e:\cmd\html\*.htm') do (
set string=%%c
set string=!string:/=#!
set string=!string:\=#!
set string=!string:^|=#!
set string=!string:?=#!
ren "%%a:%%b" "!string!.html"
)
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |