Guys, I'm trying to copy a folder from my PC to a network drive, can I just use File.copy class?
Something like below, although I think that only works for individual files?
System.IO.File.Copy(@"C:\windows\the folder i wish to copy", @\\destination PC\folder to paste in);
Loading
mike DelvottiPosted Nov 19, 2012, 1:01 PM
VulpesPosted Nov 19, 2012, 8:34 AM
There's also the question of what to do about sub-folders.
There's an example here on MSDN which shows how to deal with all this:
http://msdn.microsoft.com/en-us/library/bb762914(VS.100).aspx