Re: dos append csv files


[ Follow Ups ] [ Post Followup ] [ The EasyDOS Forum ] [ FAQ ]

Posted by SpywareDr on April 30, 2009 at 13:15:16:

In Reply to: dos append csv files posted by Gianluca on April 30, 2009 at 10:37:24:

: Hi,
: I need to append rows (except the first one)
: of n csv files into one new csv file.
: I tried with:
:
: for /F "skip=1" %f in (.\*.csv) do type %f >> D:\Test\output\all.csv
:
: but it does not work.
: do you have any suggestion?
: thanks.

for %x in (*.csv) do for /f "skip=1" %i in (%x) do @echo %i>>d:\test\output\all.csv




Follow Ups:



Post a Followup (use TAB key to move between boxes - NOT ENTER or RETURN)

Name:
E-Mail:

Subject:

Type your comments in the box below and SUBMIT:


[ Follow Ups ] [ Post Followup ] [ The EasyDOS Forum ] [ FAQ ]