可以批量替换文件里内容的小bat。可是不能零积分分享。bat内容,见下面的描述:
@echo off
for /f "delims=" %%i in ('dir /s/b t\\*.txt') do (
for /f "delims=" %%a in ('type "%%~fi"') do (
set "foo=%%a"
call,set foo=%%foo:1234=4311%%
call,echo/%%foo%%>>"%%~fi._"
)
move "%%~fi._" "%%~fi"
)
exits
2023-02-13 10:12:02
317B
bat
1