Why does File.Move(sourceFileName, destFileName) fine when the source file and destination files are in different sections, but Directory.Move(sourceDirName, destDirName) not? He throws
System.IO.IOException: "The source and destination path must have the same roots. Moving will not work across volumes."
I even tried to create an instance of DirectoryInfo and use the MoveTo(destDirName) method, but without success.
Am I missing something? Do I really need to implement the move function? (the directory I want to move is very large).
source share