View Full Version : appending text files


russi
10-13-2006, 12:27 PM
Hi.

Without importing into Access, how can I append 1 text file to a second text file?
I am using XP.

Russ

gemma-the-husky
10-13-2006, 01:38 PM
i can only see commands

name ----- renames a file
filecopy ----- copies a file
kill ------- deletes a file

to process external files, none of which append whole files

however you wouldn't need to load a whole file

you could just use the following logic

open file a
open file b
while not eof (file b)

gemma-the-husky
10-13-2006, 01:38 PM
i can only see commands

name ----- renames a file
filecopy ----- copies a file
kill ------- deletes a file

to process external files, none of which append whole files

however you wouldn't need to load a whole file

you could just use the following logic

open file a
open file b
while not eof (file b)

gemma-the-husky
10-13-2006, 01:38 PM
i can only see commands

name ----- renames a file
filecopy ----- copies a file
kill ------- deletes a file

to process external files, none of which append whole files

however you wouldn't need to load a whole file

you could just use the following logic

open file a
open file b
while not eof (file b)

gemma-the-husky
10-13-2006, 01:40 PM
sorry keep hitting tab and posting part completed replies

you could just use the following logic

open file a
open file b
while not eof (file b)
readln (file b)
writeln to file a
wend
close file a
close file b