dcsimg
Results 1 to 2 of 2

Thread: CopyDirectory

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2007
    Posts
    44

    CopyDirectory

    hi

    I need to copy a folder from one drive to another. I use

    My.Computer.FileSystem.CopyDirectory("C:\Users\yosilb\Pictures", "D:")

    this code copies the content of "C:\Users\yosilb\Pictures" to the root of drive "D:" instead of making a folder named "Pictures" on drive "D:" and then copy the content of "C:\Users\yosilb\Pictures" to "D:\Pictures"

    how can I make the code to copy "C:\Users\yosilb\Pictures" to "D:\Pictures"

    thanks

  2. #2
    Frenzied Member nmadd's Avatar
    Join Date
    Jun 2007
    Location
    Colorado, U.S.A.
    Posts
    1,676

    Re: CopyDirectory


Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width