Re: Script to set folder permissions

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"Adam" <Adam@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F8BA4277-9C77-4D0E-A074-26792A0DBC46@xxxxxxxxxxxxxxxx
> Is it possible to set folder permissions using a script?
>
> We are installing software and need to grant modify access on the install
> folder to all users.
>
> Thanks,
>
> Adam


Which scripting language are you using/do you prefer? The easiest way is
probably cacls.exe, run "cacls.exe /?" to view the syntax.



.



Relevant Pages

  • Upgrading x.org to 7.2 (to make other ports happy)
    ... last night I sit down to continue installing software on that web ... In there it says I need to run a script called "xorg-upgrade" however, ... The UPDATING file doesn't mention that. ...
    (freebsd-questions)
  • Win32_Account Error SWbemServicesEx: not found
    ... I'm trying to set folder permissions on a remote computer. ... In my test environment the script works perfect an I'm able to access ...
    (microsoft.public.win32.programmer.wmi)
  • Re: Setting permissions on a folder
    ... we use CACLS to set folder permissions from script. ... > I would like to write a vbscript to manage permissions on a folder. ...
    (microsoft.public.scripting.vbscript)