rpettit Posted March 23, 2016 Posted March 23, 2016 Hello, I am looking to add a folder with specific permission into all staff documents. For example - I want to add a folder called 'Test' into 'J.Bloggs' with security permissions for 'J.Doe' for Full Control...but I need a test folder put into every staff members documents location. Has anyone done this or similar before?
davido38 Posted March 26, 2016 Posted March 26, 2016 (edited) You can try something like FOR /d %A IN (d:\users\*) DO mkdir "%A\test" use icacls to set permissions FOR /d %A IN (d:\users\*) DO icacls "%A\test" /grant J.Doe(OI)(CI)F Edited March 26, 2016 by davido38
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now