1
Answer

Path.GetTempPath()

Peter

Peter

16y
8.1k
1

Hi.

I have placed some file i a folder:  Path.GetTempPath() + "TempInstallerCheckoutFolder".

When I try to delete the folder with: System.IO.Directory.Delete(Path.GetTempPath() + "TempInstallerCheckoutFolder", true);

I get a "UnauthorizedAccessException" saying: "Access to the path 'entries' is denied".

What can I do to delete this folder?

Best regards

Peter

 

 

Answers (1)