Shantoh Singh

Shantoh Singh

  • NA
  • 164
  • 22k

Exception on Move method of directory class

Mar 5 2020 12:39 PM
Hello all,
 
When I'm using below code, I am getting exception for System.IO for one drive part:
  1. Directory.CreateDirectory(myfolder);  
  2. Directory.Move(path, Path.Combine(myfolder, Path.GetFileName(path)));  
Please help me.

Answers (2)