Re: Permissions Batch File

From: Karl Levinson [x y] mvp (levinson_k_at_despammed.com)
Date: 07/31/04


Date: Sat, 31 Jul 2004 13:53:50 -0400

This can be done via a batch file. Use the CACLS or XCACLS command. Type
CACLS /? for more information. In most cases you will want to use CACLS
foldername /t /e /c /g userorgroupname:permission

"SLingerUK" <Steve.Linger@his-herts.nhs.uk> wrote in message
news:uhTvUIidEHA.3864@TK2MSFTNGP10.phx.gbl...
> Dear all
>
> I have been given the task to create a folder structure and permissions on
> the structure (easy enough!!!). Problem being there are some 5000 folders
> to be created and permissions applied to!!!
>
> The folder structure has been created but I still need to apply the
> permissions to the folders. Can anyone give me any ideas on how I can
> create a batch file to create the permissions? Here are some details on
> what I need to be able to do.
>
> The Folder Structure is on Four Levels (ie
e:\level1\level2\level3\level4).
> Everyone gets read only access to all folders (already done... that was
the
> easy bit). I need to be able to grant MRLRW permissions at levels 3 & 4
and
> just to confuse matters I need to be able to grant permissions to create
> files but not folders (which again I can do through the GUI but don't know
> if it can be done through a batch file).
>
> I hope that is all clear. Thanks in advance.
>
> Steve
>
>



Relevant Pages

  • Re: Permissions Batch File
    ... --- Steve ... > I have been given the task to create a folder structure and permissions on ... > if it can be done through a batch file). ...
    (microsoft.public.win2000.security)
  • Re: Hide Hard Drives from Other Users
    ... You can do it by denying the System account permissions on usbstor.inf and usbstor.pnf when she logs on. ... You can use the CACLS command in a batch file to accomplish this. ... You can make a little batch files with these two little command lines and then have a logon script process the batch file for each respective users and the desired permissions will be applied when the users log on. ...
    (microsoft.public.windowsxp.basics)
  • Re: Change folder access rights on remote computers
    ... Not true I am running for 4 years cacl via network and not local ... I am using the batch file like: ... > local script to the system to push down the permissions using cacls. ...
    (microsoft.public.windows.server.general)
  • Permissions Batch File
    ... I have been given the task to create a folder structure and permissions on ... Problem being there are some 5000 folders ... if it can be done through a batch file). ...
    (microsoft.public.win2000.security)
  • Re: System.Diagnostics.Process not working !! please help
    ... You must be having permissions problem. ... batch file is and goto the "security" tab, add the ASPNET user in it and ... >> missing using statements. ... >>> catch (Exception err) ...
    (microsoft.public.dotnet.languages.csharp)