please help me in creating a batch file

May 31, 2011 at 02:37:43
Specs: Windows 7, 4gb
i have a text file named trial1.txt with the following data. here i need to remove all blank spaces and lines. i tried

for /f "tokens=* delims= " %%a in (C:\log\trial1.txt) do echo %%a>>"DEVOLAP.txt"

but i could see 1 empty line here. please help me

1-05-2011 06:17:54


41


47


489


243


996


79


See More: please help me in creating a batch file

Report •


#1
May 31, 2011 at 06:12:18
For /F "tokens=* delims=" %%A in (C:\log\trial1.txt)) Do Echo %%A >> DEVOLAP.txt

Untested.....still on first cup of coffee


Report •
Related Solutions


Ask Question