Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

read folder permissions

Status
Not open for further replies.

Sybje

Technical User
Dec 22, 2004
56
NL
Hi there,

I need a script to read permissions of a huge folder with many subfolders.

I can use cacls with the /t argument, but I am not interested in ACLs of single files. I just need the ACLs of the folders within the huge folder.

Can I script this?

I would like to cacls the output of a single dir-command.

Help is appreciated, because I am not a scripting expert.

Thanks in advance.

Bart
 
Use xcacls instead of cacls.

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top