# Using Cacls

mwcanton
07-09-2005, 10:53 PM
I am trying to use Cacls to add Domain Users to numerous folders within a
folder and can not seem to get it to work. Can it be done on a server
cacls /T /E /G domain users:F c:\testfolder\*.*

Can someone help me with the syntax

Many Thanks

Torgeir Bakken \(MVP\)
07-09-2005, 10:53 PM
mwcanton wrote:

> I am trying to use Cacls to add Domain Users to numerous folders within
> a folder and can not seem to get it to work. Can it be done on a server
> cacls /T /E /G domain users:F c:\testfolder\*.*
>
> Can someone help me with the syntax
Hi,

cacls.exe "c:\testfolder\*.*" /T /E /G "domain users":F

--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx