I had a question answered a question for me on Experts Exchange by Sir Bounty ages OK and it works beautifuly. I wonder however if there is a way to modify it sligtly so that it only shows users with full control of a directory. The reason I ask is we have a share that power users have given standard users Full rights to a number of dir's where they shouldn't have and now I have to track them down :o(
I ran the string below and the file size produced is 55MB and it is too big for VBscript and Excel to work with.
Any help would be appreciated.
for /f %a in ('dir "C:\pro lib" /ad /b') do (for /r %a in (.) do cacls "%a") >> C:\CaclsReport.log
In summary; can this string be modified to produce a report that ONLY displays accounts with FULL access to dir?
Thanks in advance