i have got this code of MSDN but still can't get my program to work with it
问题 I can copy all the files from multiple directory's but what I want to do is copy all of the directory's with the files inside them as they are where I am copying the from and not putting just the files in my target folder. Here is my code so far { string SelectedPath = (string)e.Argument; string sourceDirName; string destDirName; bool copySubDirs; DirectoryCopy(".", SelectedPath, true); DirectoryInfo dir = new DirectoryInfo(sourceDirName); DirectoryInfo[] dirs = dir.GetDirectories(); // If