Results 1 to 2 of 2

Thread: Copying one file to a new file

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2005
    Posts
    24

    Copying one file to a new file

    I know this may be trivial but it's been a while since I coded and vb isn't documented as well as Java

    I was wondering what the code would look like to create a folder called "temp" in my c drive. So the path after created would be c:\temp.

    Then I want to copy the contents from a folder named temp1 to temp (just a copy, I want them to exist in both places temp and temp1)? I can do this via command line but thought it would be easier to write an exe that will do it.

    Thanks for any help in advance.

  2. #2
    Fanatic Member -TPM-'s Avatar
    Join Date
    Jul 2005
    Posts
    850

    Re: Copying one file to a new file

    You'd use these:
    io.directory.createdirectory()
    io.file.copy()
    TPM

    Add yourself to the VBForums Frappr Map!!

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