Move all sub directories and files
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