I am using C# to delete some folder on local machine and remote server... and for these folders
"My Music", "My Pictures" and "My Videos its showing me access denied... Can you please help here?
ClearAttributes(FolderPath); //To change attribute to Normal before I delete it..
System.IO.Directory.Delete(FolderPath, true); //here I am getting access denied error... Even I am Admin on the system and delete them manually.