Hi all,

I'm hoping to get some help from someone who knows this stuff better than
I... I need to set permissions on all of the files and folders in a
directory tree. I would guess that this is the sort of thing that I need
WMI to do, but I always get lost trying to figure out how to deal with WMI.

I want to set this permission set on the root folder, whose path is stored
in a string variable:

Administrators: Full control
Authenticated users: Read and Execute

I want to recursively set all of the contents of the root folder to inherit
privileges from their parent folder.

TIA!

- Bob

Re: Setting permissions on a folder tree by Bob

Bob
Tue Sep 13 14:28:53 CDT 2005

Never mind... I found what appears to be the answer to my question about 6
messages below my posting. Seems that CACLS does just what I want.

"Bob Altman" <rda@nospam.nospam> wrote in message
news:uEO1LeIuFHA.3864@TK2MSFTNGP12.phx.gbl...
> Hi all,
>
> I'm hoping to get some help from someone who knows this stuff better than
> I... I need to set permissions on all of the files and folders in a
> directory tree. I would guess that this is the sort of thing that I need
> WMI to do, but I always get lost trying to figure out how to deal with
WMI.
>
> I want to set this permission set on the root folder, whose path is stored
> in a string variable:
>
> Administrators: Full control
> Authenticated users: Read and Execute
>
> I want to recursively set all of the contents of the root folder to
inherit
> privileges from their parent folder.
>
> TIA!
>
> - Bob
>
>