|
-
Feb 20th, 2012, 09:01 AM
#3
Re: Fastest Copy Operation
 Originally Posted by TheBigB
Not sure what would cause the slowdown. Lower level buffering possibly?
There are a few other methods of copying files.
One is P-Invoking SHFileOperation
Another one would be to run XCOPY ( example I found on Google); command line executions are harder to control in terms of error catching though.
And there might be some more ways.
I love this suggestion. Ive used this method for copying files before and its well worth the minor performance trade for P/Invoke. You get all the bells and whistles of the OS shell. You get the progress bar and those little dialogs that ask for overwrite permission when a file exists, the error dialogs for when a file is locked or there is no HD space. You get all these benefits which would save you from writing a lot of code. I strongly recommend this approach.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|