"acray" <> wrote in message
news:...
>
> fyi, cacls does not correctly traverse sub directories to apply
> permissions, at least not in all situations. So it should not be relied
> upon to fully set the permissions on all the files.
That is why I suggested the first step of setting background admin
permissions and replicating them from windows explorer - in the hope that
this would configure subfolders to inherit all permissions.
/Al
> However, I believe a For loop similar to what Al Dunbar provided could
> be used to call SetACL, simplifying my vbscript approach.
>
> Remember, if my VBscript was retrofitted to use SetACL, the first pass
> (first occurrence of WScript.Run) would not be needed at all.
>
>
> --
> acray
> ------------------------------------------------------------------------
> acray's Profile: http://forums.techarena.in/members/acray.htm
> View this thread: http://forums.techarena.in/server-scripting/1112376.htm
>
> http://forums.techarena.in
>