Any idea how to merge *.csv files from one folder?
I have many *.csv files with same structure (count & heading of columns) and I need to merge their content into on
There are a few ways to approach it (ex: SO 39045638)
I personally use a .bat file similar to the below, where loc is the directory for the csv files. This doesn't handle deleting the Aggregate file, though. Nor does it handle repeated headers, so you would need to edit the final csv to remove them.
@ECHO OFF
Set loc=C:\Test\
Copy %loc%*.csv %loc%\Aggregate.csv