上面的 只能 检测一个 包含字符 就修改复制代码
- for %%i in ("%~dp0\.") do (
- echo %%~ni | find "已转">nul && (
- (for /f "delims=" %%i in (200\zl.ini) do (
- for /f "tokens=1* delims==" %%o in ("%%~i") do (
- if /i "%%o"=="abcd30" (echo.%%o=1500) else (echo.%%i)
- )
- ))>_d.ini
- move _d.ini 200\zl.ini
- )
- )
欢迎光临 批处理之家 (http://bbs.bathome.net/) | Powered by Discuz! 7.2 |