Results 1 to 2 of 2

Thread: Copy from one file to another......

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Location
    Nashville, TN
    Posts
    114

    Copy from one file to another......

    How do I copy the contents (all text) from one file and re-write it at the EOF of another?

    Currently what I'm doing is reading the 1st file and placing it into a listbox then writing the contents of the list box into the second file.

    There has to be a faster way.

    TIA,
    Mike
    Mike

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Why put it in a listbox? Just read the one file into a string, ten open the second file and write the string to it.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width