G
Guest
I login as administrator of the machine. However running the following code
get access denied exception for file inside the directory.
The source code:
DirectoryInfo target = new DirectoryInfo(TargetDirectory);
target.Delete(true);
I don’t have problem manually delete the whole directory. Please advice.
Thanks,
get access denied exception for file inside the directory.
The source code:
DirectoryInfo target = new DirectoryInfo(TargetDirectory);
target.Delete(true);
I don’t have problem manually delete the whole directory. Please advice.
Thanks,