remove certain characters from a .txt file?

December 25, 2010 at 11:36:36
Specs: Windows 7
i need to remove all
'
)
,
(

from the file. i cant get it..thanks


See More: remove certain characters from a .txt file?

Report •


#1
December 26, 2010 at 04:09:11
@echo off > newfile & setLocal enableDELAYedeXpansion

for /f "tokens=* delims='," %%a in (myfile) do (
set S=%%a
set S=!S:^(= !
set S=!S:^)= !
>> newfile echo.!S!
)


=====================================
Life is too important to be taken seriously.

M2


Report •
Related Solutions


Ask Question