Trying to create program that adds folders into program files-recieving this error:
WindowsError: [Error 5] Access is denied \'C:\\\\Program Files\\\\IMP\'
Because you have to have the "system administrator privileges" to create dirs under C:\Program Files
.
So try run the script with system administrators privilege.
To start a command prompt as an administrator
cmd
, and then press CTRL+SHIFT+ENTER.