Afficher un message
Vieux 10/09/2007, 01h46   #4
rocketz21
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: script for assigning folder permissions

yea, sorry, I meant background. What would the syntax be to run it as a vbs?
I tried saving the file as a .vbs, but there needs to be some additional
formating that I'm clueless about.

I don't want a window to pop up on the desktop like it does for the batch
file.

"Al Dunbar" wrote:

>
> "rocketz21" <rocketz21@discussions.microsoft.com> wrote in message
> news:9ABB9C16-9465-4E3A-AA3D-E91FE00E4EA2@microsoft.com...
> > Thanks. I would like to run it as a vbs script to keep it in the
> > backgroup

>
> "backgroup"? do you mean "background"?
>
> > and run it from group policy. However, I am terrible at vbs scripts and
> > don't understand the formatting or how to create one on my own.

>
> and I haven't ever written scripts that are run via group policy, so I won't
> be much here. Anyone else?
>
> > As for applying to multiple folders, can you show me an example? I don't
> > quite understand what you mean.

>
> The xcacls.vbs command, which would most likely be executed from a batch
> file, typically processes one file or folder at a time. To do more than one
> folder you just need additional commands - just like the first one, but with
> the folder names changed.
>
> xcacls.vbs c:\fsp\ /g DOMAIN\"domain users":f /f /t /e /q
> xcacls.vbs c:\glrp\ /g DOMAIN\"domain users":f /f /t /e /q
>
> > The folders needs the same permissions for
> > domain users and also a file. Can you specifiy a specific file or files
> > within the script to have the same permissions?
> >

> I'm not sure if w2k includes a cacls.exe, but you could copy xcacls.exe to
> those systems. Or xcacls.vbs, but do the w2k systems all have vbscript
> installed?
>
> /Al


  Réponse avec citation
 
Page generated in 0,05451 seconds with 9 queries