@echo off & setlocal enabledelayedexpansionfor %%a in (*.txt) do ( (for /f "delims=" %%b in ('type "%%~a"') do ( set str=%%~b echo !str:txuc ab=tx c! ))>"%%~na.tmp")del *.txtren *.tmp *.txtpause