
CODE: [Copy to clipboard]@echo off&Setlocal EnabledelayedExpansion
for /f "delims=" %%a in (yourfile.ext) do (
set "string=%%a"
set string=!string:^<p^>=`!
call:translate "!string!"
)
pause&exit /b 0
:translate
for /f "delims=` tokens=1*" %%a in (%1) do (
echo\%%a
if "%%b"=="" (goto :EOF) else (call:translate "%%b")
)
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |