icacls (win2k8) scripting examples
icacls (win2k8) scripting examples
After _cacls_, _xcacls.vb_s, now we have _icacls_ to set file and folder permissions.
Here are some practical examples.
Create a bunch of directories
mdd:\appsmdd:\profilesmdd:\users
Share the directories. Note the offline caching; users are allowed to enable offline caching for their homedirs, other directories are disabled for offline caching.
netshareapps=d:\apps/grant:everyone,FULL/CACHE:Nonenetshareprofiles=d:\profiles/grant:everyone,FULL/CA...