Results 1 to 3 of 3

Thread: [RESOLVED] [2.0] Copy Directory

  1. #1

    Thread Starter
    Hyperactive Member Quasar6's Avatar
    Join Date
    Mar 2008
    Location
    Sol 3
    Posts
    325

    Resolved [RESOLVED] [2.0] Copy Directory

    I'm kind of embarressed having to ask this one...

    How can I copy a directory, with all files and subdirectory's, from a network location to a local location?

    I'm after an equivilent of the DOS xcopy command.

    Thanks,
    Qu.
    "Why do all my attempts at science end with me getting punched by batman?" xkcd.

    |Pong||
    Sorry for not posting more often.

  2. #2

    Thread Starter
    Hyperactive Member Quasar6's Avatar
    Join Date
    Mar 2008
    Location
    Sol 3
    Posts
    325

    Re: [2.0] Copy Directory

    Never mind, I found a bit of source code which solves my problem. It's annoying that .Net doesn't have a Directory.Copy() function. Oh well...

    In case anyone is interested, this is the code snippet I ended up using.
    "Why do all my attempts at science end with me getting punched by batman?" xkcd.

    |Pong||
    Sorry for not posting more often.

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: [RESOLVED] [2.0] Copy Directory

    Thanks for posting your solution and the link!

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