
Originally Posted by
i4000
DEL newfile.csv (if it exists)
DIR /b *.csv > dir.txt
FOR /F %i in (dir.txt) do TYPE %i >> newfile.csv
EDIT: Out of Interest what does the %i do ? when running the batch file (.bat ? ) will it append the subsequent data (.csv) at the end of the file on a new line?
Well What I am going to do is use the DOS commands and operate it from a c programmed executable. Using STRCPY its quite easy to get the program to do what you want in dos 
As for the document, I can't show exactly so I will make something up to show the structure...
PHP Code:
title1,title2,title3,title4...title10
XT/4600,x,y,z,DATE,TIME...
XT/4600,x,y,z,DATE,TIME...
XT/4600,x,y,z,DATE,TIME...
...
XT/4601,x,y,z,DATE,TIME...
XT/4601,x,y,z,DATE,TIME...
...
XT/4699,x,y,z,DATE,TIME
Thanks again chaps.
Animus as for other languages, I'm sure there are better ones to use, but I don't have the time to learn and program in anything else right now