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:\
Everyone
modify
icacls \"C:\
No need to put :r after /grant. Check the examples by typing icacls /?
:r
/grant
icacls /?
Do like this:
icacls "C:\Program Files (x86)\Program File" /grant Everyone:M