I need to Copy folder C:FromFolder to C:ToFolder
Below is code that will CUT my FromFolder and then will create my ToFolder. So my FromFolder will be gone and all the items will be in the newly created folder called ToFolder
System.IO.Directory.Move(@"C:FromFolder ", @"C:ToFolder");
But i just want to Copy the files in FromFolder to ToFolder. For some reason there is no System.IO.Directory.Copy???
How this is done using a batch file - Very easy
xcopy C:FromFolder C:ToFolder
Regards Etienne
See Question&Answers more detail:os