I always get the this error when I try to build and run a code second time.
ld.exe||cannot open output file C:\Users\Dark\Desktop\cb\filename.exe Permission denied|
I also can't delete the exe. I tried to wait but it only fixes itself when i restart the computer. I checked the task manager, program is not running. Same on Process Explorer. I am logged in as admin and only user. In properties it says "Unable to display current owner" and when I try to take ownership it says access denied.
Do you have any antivirus software running and interfering with this? Have you tried to create the executable somewhere else and not on the desktop?
I tried other paths C or D but same. Closing antivirus seems to work. Thanks!