Re: VBS to set folder permissions
- From: Hunter1 <hunter1@xxxxxxxxxxxx>
- Date: Sun, 07 Aug 2005 11:20:31 +0800
I do that with VB without any dramas. Initially when we set up an automatic account generation system I was familiar with VB but hadn't really played around a great deal with VBScript, since then I do nearly everything in VBScript, but since the VB proggy which creates and sets the permissions on their personal directories works I've had no need to rewrite it. I can wack up the code to do this in VB if you want, shouldn't be too hard to port to VBScript.
Brooks wrote:
Using VBS I need to search the AD on a Win2K server and for each name in an OU, check to see that a personal folder has been setup. If not then I need to create the folder on the server and set the permissions correctly. [Note that the VB script will be run on the server.] OK, but here is the problem: I need to set the folder permissions so that only the administrators group and that person in the AD have full access permissions and nobody else has no access to it. How do I do it in vbs?
Thanks very much for your reply,
Brooks
Brooks.VanHorn@xxxxxxxxxxx
--
Brooks
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------
.
- References:
- VBS to set folder permissions
- From: Brooks
- VBS to set folder permissions
- Prev by Date: Adding Wireless Preferred networks / WPS /XP
- Next by Date: Re: Scripting a black screen, possible?
- Previous by thread: VBS to set folder permissions
- Next by thread: VBS to set folder permissions
- Index(es):
Relevant Pages
|