title: Move a folder from one Drive to another in c#
body: <pre><code>Here is my source file and destination file";
  
  Source :  E:\\Test\Test_Content\\ABC12
  Destination: F:\\Test\GetContent
  </code></pre>
  
  <p>I want to move folder ABC12 from E drive to destination path within GetContent folder, However 
  ABC12 contains different sub folder. ABC12 folder should be completely move to destination folder along with subfolder. Please help me.</p>
  
  <p>I am getting following error: I am getting error like this "Source and destination path must have identical roots. Move will not work across volumes."</p>
  
  <pre><code> string sfolder="Path of the folder to move which is in project directory in E drive";
   string path = "~/UContent" + "/" + sfolder;
                  string extractfiles = Server.MapPath("UContent"+"/");
                 System.IO.Directory.Move(extractfiles+"/"+sfolder,@"F:/GetContent/");
  </code></pre>