CODE: [Copy to clipboard]@echo off for /f %%i in (e.txt) do call :k %%i :k set ot=%1 ren %ot% %ot:~4%