delete headers line

Amd Athlon ii x2 dual core processor
September 18, 2009 at 11:07:31
Specs: Windows XP
Hi All,

I have a little problem...

i have a lot of txt files like this

Jonh 157
Tom 198

and i want to create only one file containing all the data without the headline been repeated

ps. i would like to open it with excel also



See More: delete headers line

Report •

September 18, 2009 at 11:19:05
@echo off & setLocal EnableDELAYedExpansion

> newfile echo NAME NUMBER

for /f "tokens=* delims= " %%a in ('dir/b/a-d *.txt') do (
for /f "skip=1 tokens=* delims= " %%i in (%%a) do (
>> newfile echo %%i

Helping others achieve escape felicity


Report •

September 18, 2009 at 11:45:12
thank you very match
both for the code and for reply so quickly

Report •

Related Solutions

Ask Question