I have a program where a user will select 1+ text or RTF files. How do I combine these files or read them in so I can have one file saved that contains all the data from all of the files?
Thanks!
Printable View
I have a program where a user will select 1+ text or RTF files. How do I combine these files or read them in so I can have one file saved that contains all the data from all of the files?
Thanks!
Hi,
I had to do something like this for my work. I had 20 text files that I needed to combine into one. This was a little easier for me, cause the filenames could not change, so I just wrote a loop that read through them all. In you case where the user has the ability to pick files this is a little different from what I did. If you want I'll write the program and email it to you. Email me at [email protected] if you still need some help.