开发者

Error Access denied to programmatically created folder

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜