I have a file that has many lines with centered text and i want to echo every line of that text file without losing leading spaces in every line...

Make your delim ff hex :: ===== script starts here ===============
::
:: keepspac.bat 2013-02-22 0:07:45.23
@echo off > newfile & setLocal enableDELAYedeXpansioNfor /f "tokens=* delims=๛" %%a in (myfile) do (
echo %%a
)>> newfile
::====== script ends here ======================================
M2 Golden-Triangle
Then that's what you should have really asked? You can also do away with the delim all together. for /f "delims=" %%a in (somefile.txt) do echo %%a
