@echo off echo reza > test.txt copy test.txt test2.txt SETLOCAL=ENABLEDELAYEDEXPANSION for /f %%i in (test.txt) do ( echo %%i >> test.txt set foo=%%i if !foo!==reza set foo=reeza echo !foo! >> test.txt) echo type test.txt echo. type test.txt echo. sed "s/reza/reeza/g" test2.txt > test3.tx...