Script help - New line and character removal?

August 25, 2009 at 00:46:35
Specs: Windows XP, 2gb

I am in need of some script help if possible.

I have a few email databases that I hope to compile into one bulk database.

My problem is I have a load of email addresses in txt files like:;; etc

Is there a script that can be created where I can make every email address on a new line ie:

and a script that will also remove the ' ; '??

Help would be very much appreciated

See More: Script help - New line and character removal?

Report •

August 25, 2009 at 01:08:44
If none of the addresses conatin ,=<>|^%, tabs or spaces it should be pretty easy.

for /f "usebackq eol=%% delims=" %%a in ("your text file") do (
    for %%b in (%%a) do (
        >>"newtextfile" echo %%b

Report •
Related Solutions

Ask Question