Re: Script to check individual permissions
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Mon, 23 Oct 2006 21:02:39 +1000
"PV" <PV@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0061CD49-BAD3-4691-B184-DF66CBFFC188@xxxxxxxxxxxxxxxx
Hi,/subdirectories
Does anyone know of a script that checks individual file permissions on a
set of folders?
Whith subinacl you can list al folder permissions
( subinacl /noverbose /nostatistic /outputlog=C:\myfile.txt
C:\myfolder\ /display ), but as long as the permissions are set to a groupI
don't care..
Thanks in advance
Peter
You could run this batch file:
@echo off
set source=d:\Shares
set target=c:\Permissions.txt
echo Compiling a directory listing
dir /b /ad /s "%source%" > c:\dir.txt
echo Permissions listed on %date% at %time:~0,5% > %target%
echo ======================================================= >> %target%
for /F "tokens=*" %%* in (c:\dir.txt) do (
echo Processing %%*
cacls "%%*" >> %target%
)
notepad %target%
.
- Prev by Date: Re: Volume Marked as RAW?
- Next by Date: Re: Script to check individual permissions
- Previous by thread: FileSystemObject.FolderExists sometimes fails when folder actually exists.
- Next by thread: Re: Script to check individual permissions
- Index(es):
Loading