Why am i getting WindowsError: [Error 5] Access is denied?

前端 未结 2 961
情书的邮戳
情书的邮戳 2020-12-07 01:06

Trying to create program that adds folders into program files-recieving this error:

WindowsError: [Error 5] Access is denied \'C:\\\\Program Files\\\\IMP\'
         


        
2条回答
  •  春和景丽
    2020-12-07 01:22

    Right click on file (which file/folder's permissions needed to execute the script) go properties, security and enable all permissions, little checkboxes -> ALLOW: "every application package & limited application package & trusted installer"

    this is it :)

提交回复
热议问题