Does anybody have a script that will set the permissions to the name of the folder
ie set folder 07jbloggs with permission to 07jbloggs etc?
just clearing up the bosses mess![]()

Does anybody have a script that will set the permissions to the name of the folder
ie set folder 07jbloggs with permission to 07jbloggs etc?
just clearing up the bosses mess![]()

feed dir /q /b into a for loop?
Ben

I got one (which i couldn't find!)
This then give user full control, Domain admins full control and teaching staff read onlyfor /d %%1 in (*) do echo y|cacls %%1 /t /g %%1:F administrators:f "domain admins":f "teaching Staff":r
There are currently 1 users browsing this thread. (0 members and 1 guests)