Re: Dump folder permissions with sub folders
- From: "Pegasus \(MVP\)" <I.can@xxxxxxxxxx>
- Date: Fri, 7 Mar 2008 07:30:32 +0100
Will this do?
@echo off
set target=d:\User Files
cacls "%target%" > c:\Perms.txt
for /F "tokens=*" %%* in ('dir /b /ad "%Target%"') do cacls "%%*" >>
c:\perms.txt
notepad c:\perms.txt
"Jerry Zhao" <Jerry.jie.zhao@xxxxxxxxxxxxx> wrote in message
news:86014F9E-4FF5-47AE-A2D5-1816A6AAB0BA@xxxxxxxxxxxxxxxx
Thanks.
The /t swith will let cacls goes over all sub folders, however, as i
mentioned, i just need to reach the first and second tiers sub folders.
how can we?
--
Supported newsgroup, being supported by newsgroup
"Pegasus (MVP)" wrote:
"Jerry Zhao" <Jerry.jie.zhao@xxxxxxxxxxxxx> wrote in message
news:E7A31AD4-4E54-4B9D-AC6A-837EAD46483E@xxxxxxxxxxxxxxxx
I know that we can export permissions of a folder to a list. However,
since
some folder contain mutiple tiers of sub folders and i just need to
export
the permissions of first and second tiers sub folders. Xalcs does not
have
that function as i understand.
so, my question is do we have method for this? (either using script or
using
tools)
--
Supported newsgroup, being supported by newsgroup
Try this: cacls "d:\User Files" /t
.
- Follow-Ups:
- Re: Dump folder permissions with sub folders
- From: Jerry Zhao
- Re: Dump folder permissions with sub folders
- References:
- Re: Dump folder permissions with sub folders
- From: Pegasus \(MVP\)
- Re: Dump folder permissions with sub folders
- Prev by Date: Re: sytem files
- Next by Date: Re: Dump folder permissions with sub folders
- Previous by thread: Re: Dump folder permissions with sub folders
- Next by thread: Re: Dump folder permissions with sub folders
- Index(es):
Relevant Pages
|