是这个意思吗?- @echo off
- setLocal enabLedeLayedexpansion
- for /f "tokens=1,2" %%a in (字典.txt) do (
- set %%a=%%b
- )
- for /f "delims=" %%i in ('dir /ad-h /b /s') do (
- copy bqsm.html %%i
- copy flash.htm %%i
- copy index.htm %%i
- copy zxbj.htm %%i
- copy zxls.html %%i
- )
- for /f "delims=" %%o in ('dir /ad-h /b /s') do (
- sed -i "s/三三/!%%~no!/g" %%o\*.html
- )
复制代码
|