You could also use the ADSI sdk objects, too - but it's far from straightforward. The only reason I can think of doing permission via vbscript, would be either a desire to make your life difficult, or something you really want to learn - otherwise command line stuff like xcacls / cacls / subinacl is the best way to go for permissions. Neil > -----Original Message----- > From: thin-bounce@xxxxxxxxxxxxx > [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Jeff Durbin > Sent: 07 October 2004 19:11 > To: thin@xxxxxxxxxxxxx > Subject: [THIN] Re: OT: problem scripting home directories > > You can set file permissions in VBScript via WMI, but it's no > picnic... > > > -----Original Message----- > > From: thin-bounce@xxxxxxxxxxxxx > > [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Jeff Malczewski > > Sent: Thursday, 7 October 2004 8:58 a.m. > > To: 'thin@xxxxxxxxxxxxx' > > Subject: [THIN] Re: OT: problem scripting home directories > > > > Just use the CreateFolder() method to create an empty folder. > > If you are creating a profile folder as well, then create a > > generic profile that you want everyone to start with, and > > then copy it to the user's location. > > > > Either way, after you create/copy the folder, you'll have to > > use XCACLS to set the permissions onit so the user can access > > it and to prevent other users from getting into it.. *********************************************** This e-mail and its attachments are confidential and are intended for the above named recipient only. If this has come to you in error, please notify the sender immediately and delete this e-mail from your system. You must take no action based on this, nor must you copy or disclose it or any part of its contents to any person or organisation. Statements and opinions contained in this email may not necessarily represent those of Littlewoods. Please note that e-mail communications may be monitored. The registered office of Littlewoods Limited and its subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB. Registered number of Littlewoods Limited is 262152. ************************************************ ******************************************************** This Weeks Sponsor RTO Software Do you know which applications are abusing your CPU and memory? Would you like to learn? -- Free for a limited time! Get the RTO Performance Analyzer to quickly learn the applications, users, and time of day possible problems exist. http://www.rtosoft.com/enter.asp?id=320 ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm