21
11
I'm trying to replace notepad.exe
with notepad2.exe
, but I'm getting UAC permission issues when I try to open a file with the replacement notepad2.exe
. I have to open notepad2.exe
as admin.
How can I perform a Windows 7 equivalent of the linux chmod 777
on the file?
Note that explicit deny entries can override this. – Joey – 2010-07-13T13:40:22.730
2Good point, replacing the /g with /p will take care of this. – David Remy – 2010-07-13T13:45:53.583
1What is
cacls
? -1 for not giving any infos or providing a link to the page. – Black – 2017-03-06T10:36:52.5533Please note that from Windows 7 onwards cacls is considered deprecated by Microsoft and icacls should be used instead. – Giles Roberts – 2013-01-17T15:07:33.517