开发者

Error Access denied to programmatically created folder

开发者 https://www.devze.com 2023-02-14 02:45 出处:网络
I Have Created document set in that document i have programmatically created an Tempfolder but when iaccess that folder it sho开发者_如何学Pythonws error like\"Access to the path \'C:\\Users\\Administ

I Have Created document set in that document i have programmatically created an Tempfolder but when i access that folder it sho开发者_如何学Pythonws error like"Access to the path 'C:\Users\Administrator\AppData\Local\Temp\MyTempFolder' Access is denied"

please guide me.


It is correct behavior because you need administrator's rights to access that folder. The simples solution is to run you program as Administration but I would rather change the folder, otherwise you need to elevate the rights of you app. Furhter you can look here and here.

0

精彩评论

暂无评论...
验证码 换一张
取 消