chris-uk-lad
Registered User.
- Local time
- Today, 02:37
- Joined
- Jul 8, 2008
- Messages
- 271
Hi,
Each month i get several text files which i want to load into a table in access via VB. Atm this is a slow process so would like to automate this with VB, by combining the text files together then exporting into the database. I know the DOS command to combine the files
copy filename1.txt +filename2.txt +filename3.txt file.txt
but this includes all the headers and i only wish to keep the headers of the first text document. Anyone know a method of deleting the first line from all but the first text file?
Many Thanks
Each month i get several text files which i want to load into a table in access via VB. Atm this is a slow process so would like to automate this with VB, by combining the text files together then exporting into the database. I know the DOS command to combine the files
copy filename1.txt +filename2.txt +filename3.txt file.txt
but this includes all the headers and i only wish to keep the headers of the first text document. Anyone know a method of deleting the first line from all but the first text file?
Many Thanks