mkdir hubei_res
setlocal enabledelayedexpansion
for /f "tokens=*" %%i in (917047.txt) do (
set var=%%i
set "var=!var:湖北10622258=10622258!"
echo !var!>>hubei_res/1.txt
)
替换一个文本文件中的指定内容
最新推荐文章于 2020-07-08 17:42:02 发布
mkdir hubei_res
setlocal enabledelayedexpansion
for /f "tokens=*" %%i in (917047.txt) do (
set var=%%i
set "var=!var:湖北10622258=10622258!"
echo !var!>>hubei_res/1.txt
)