1
Answer

Move all sub directories and files

julian.haines

julian.haines

18y
1.9k
1
Hi, I am trying to write a very simple C# console application that will move all files and directories under a certain directory to another computer, for example FROM C:\Directory\move all files and directories here TO \\OtherPC\C$\FILES_MOVED\ I have tried Directory.Move(@"C:\FROMHERE\*.*", @"\OTHERPC\C$\TOHERE\"); But it does not like the *.* for all directories and files Can anyone help me Thanks Joolz
Answers (1)