I am trying to augment C:\program files\%X%\%text_file%.txt
.
I am admin on my PC and granted full access to all users on this text file (overkill, but its a local PC).
I am trying to use the solution documented here, yet I am still getting WindowsError: [Error 5] Access is denied
.
My goal would be to have a script that systematically can go in and modify the text file. My current python code matches that in the link above directly.
Thank you for any guidance!!