/ Published in: C#
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Requires project reference to Microsoft.VisualBasic using Microsoft.VisualBasic.FileIO; class FileProgress { static void Main() { string sourcePath = @"C:\Users\public\documents\"; string destinationPath = @"C:\testFolder"; FileSystem.CopyDirectory(sourcePath, destinationPath, UIOption.AllDialogs); } }
URL: http://msdn.microsoft.com/en-us/library/cc165446.aspx