To change CONFIGFOCUS,99999,
to CONFIGFOCUS,999999,
in a tree of files, this should work:
This uses a helper batch file called repl.bat
from - http://www.dostips.com/forum/viewtopic.php?f=3&t=3855
Put repl.bat
in the same folder as the batch file, which is in the main folder of your tree of INI files.
@echo off
for /r %%a in (*.ini) do (
type "%%a" |repl.bat "CONFIGFOCUS,99999," "CONFIGFOCUS,999999," >"%%a.tmp"
move /y "%%a.tmp" "%%a" >nul
)