CODE: [Copy to clipboard]@echo off for /f "delims=" %%i in (a.txt) do (set i=%%i echo !i:-=!)>>a_.txt