cktest0001 当前离线
列兵
TOP
foxJL 当前离线
荣誉版主
DAIC 当前离线
中将
@echo off for /r "D:\Test\" %%i in (*.txt) do ( if "%%~nxi" neq "替换内容集.txt" ( for /f "usebackq tokens=1-2 delims=," %%j in ("D:\Test\替换内容集.txt") do ( sed -i "s/%%j/%%k/g" "%%i" ) ) )复制代码