How to use batch file to give a folder permission to the Everyone group

后端 未结 1 973
予麋鹿
予麋鹿 2021-01-11 13:00

Im trying to add the group Everyone and give it modify permissions on a folder. Im using a batch file to try this. so for I have icacls \"C:\

1条回答
  •  既然无缘
    2021-01-11 13:44

    No need to put :r after /grant. Check the examples by typing icacls /?

    Do like this:

    icacls "C:\Program Files (x86)\Program File" /grant Everyone:M
    

    0 讨论(0)
提交回复
热议问题