bat文件批量修改txt文本内容中的key
@echo offsetlocal enabledelayedexpansionset motokey=,SYNCset newkey=for /f “delims=“ %%a in (‘dir /a-d /s /b *.txt’) do (pushd “%%~dpa”( for /f “delims=” %%b in (‘type “%%a” ’) do (set “line=%%b”set “line=!line:%motokey%=%new
原创
2022-03-17 15:20:28 ·
466 阅读 ·
0 评论