Re: file permission scripting

From: Stivie S. (stefan.suesser_at_computacenter.com)
Date: 03/19/04


Date: Fri, 19 Mar 2004 07:26:08 -0800

Hi Altria,

have you already thought about using "cacls.exe", a command line tool that ships with Windows? It is very easy to use, available on every Windows computer, and you can use a simple batch file or a VBScript that (externally) calls "cacls.exe" to implement what you want.
>From the experiences I have, using nativ VBScript to set file- or folder permissions is quite complicated and therefore using a simple command line tool will do its job.



Relevant Pages

  • Re: file permission scripting
    ... > From the experiences I have, using nativ VBScript to set file- or folder permissions is quite complicated and therefore using a simple command line tool will do its job. ...
    (microsoft.public.windows.server.scripting)
  • Re: Access 2000 Crashes on double click ??
    ... experiences to develop the habit. ... > I have a form that imports a picture into it....here's the code. ... > DoCmd.CancelEvent in the double click event of the command button. ...
    (microsoft.public.access.gettingstarted)
  • Re: Setting file permissions
    ... set up a share and set folder permissions. ... I have been able to retrieve the computer name and set the share up but am ... You can use the cacls or xcacls command line utilities. ... The trick is to echo the "Y" to the cacls command, and make sure there is no ...
    (microsoft.public.scripting.vbscript)
  • Re: Script How? Check If Current User Has Read Permissions To A Share?
    ... > Is there anyway (via the command line or WSH) i can check if the current ... or to folder permissions? ... Prev by Date: ...
    (microsoft.public.windows.server.general)
  • It always dims the wrong menu item!
    ... I got the code for dimming a menu item from this group after looking ... for it for a long time thanks to those who share their experiences with ... command in the 2nd menu!! ... It's driving me crazy! ...
    (comp.databases.ms-access)