Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Displaying NT folder permissions with VB


Message #1 by "Ian Oates" <ian.oates@u...> on Tue, 23 Oct 2001 09:35:51
Oops, ... you definitely can traverse subdirectories by using the /T 
option of cacls.exe.

Sorry for the little mistake,
Boris

> Hi Ian,
> 
> under NT and 2000 there is a commandline tool called cacls.exe, which 
can 
> display and change the permissions you have on folders or files. It's 
> documented in the windows online help. You could wrap it in a VB app, by 
> using the API function ShellExecute and redirecting it's output in a 
file. 
> Because cacls.exe cannot traverse subfolders, you would have to do that 
> yourself.
> 
> Regards
> Boris
> 
> > Recently we lost ALL our folder permission settings which meant that 
we 
> had
> > to go through all folder and reassign users to folders. Now that the
> > permissions are setup, is there a VB routine that would list users of 
> > folder + subfolders. It would help having a hardcopy, if such an 
> > occurrence would happen again.
> > 
> > Regards
> > Ian Oates

  Return to Index