Appending a file to another
Posted on 2002-03-15
I'm using D3 Pro - is there some super-quick way of appending a file of text records to an already-existing text file; other than opening the 1st file and reading and writing each record to the 2nd file? I've tried Blockread/Blockwrite, but that's even slower (a *lot* slower) than doing regular reads and writes. I have to do this 'append' of one file to another, thousands of times within my app and it's a real bottleneck for me.
Like something similar to the DOS 'Copy' command... or maybe in fact the DOS Copy command itself - if there's a way to invoke it without having that scrubby black DOS window appear while my app runs.