Please correct me if I'm mistaken, but if I want to run a Kix script on a computer, don't I have to install KiXtart on that computer for it to run? If so, I would say that VBScript has the benefit of being able to run natively on any Windows-based computer. No big deal for one computer, but more work if you write a domain login script that hundreds or thousands of domain computers will run. I always prefer to use tools that are native to the operating system when they will suffice. -----Original Message----- From: Braebaum, Neil [mailto:Neil.Braebaum@xxxxxxxxxxxxxxxxx] Sent: Thursday, September 04, 2003 1:29 AM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: Hidedrives Comments inline... > -----Original Message----- > From: Durbin, Jeff [mailto:jdurbin@xxxxxxxxxxxxxxxxxxx] > Sent: 03 September 2003 18:19 > To: thin@xxxxxxxxxxxxx > Subject: [THIN] Re: Hidedrives > > > I don't want to start the whole 'VBScript vs. CMD file vs. > Kix' debate again, but I will just say that VBScript is way > faster than using IFMEMBER and REG. It may be - but no faster than the equivalent functions in Kix - and the same applies for both the group membership check, and the registry write, they are both one liners - not something you can say for vbscript. In this example, vbscript offers non of the advantages of Kix, and disadvantages of being more complex and tedious *for this sort of activity*. > I rewrote a customer's > 1700 line CMD login script in VBScript and it went from > minutes to seconds. I do agree that it's more complicated to > write VBScript, but the payoff for a little learning is tremendous. In this example, it's more complicate than it needs to be - that's all. The problem with some advocates, is advocacy for their choice for *everything*. WSH / ADSI / vbscript is very useful in a W2K / AD environment - no question - I write a lot of stuff myself. But for login type activity - especially if the individual is not current au fait with any particular scripting language - it's not optimum. It's all about using the most appropriate type of scripting for the type of activity you do. Most of my login scripts are Kix, followed by CMD, followed by vbscript - I use the appropriate choice of tool for the task, rather than trying to get a one-fits-all imposition. If somebody doesn't currently have experience of scripting, they are going to find ifmember and reg easier. If the performance is important, they'll get that from using Kix, and *still* have relative ease of use. If they are determined to use vbscript / WSH / ADSI, and use it at every turn, then they still have that choice - but it is not the best fit - merely a preference thing - it is unquestionably more complex to code this using WSH / vbscript / ADSI, than it is to write it in Kix - and for no benefit. *********************************************** 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 Week's Sponsor: ThinPrint http://www.thinprint.com ********************************************************** Useful Thin Client Computing Links are available at: http://thethin.net/links.cfm For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm ******************************************************** This Week's Sponsor: ThinPrint http://www.thinprint.com ********************************************************** Useful Thin Client Computing Links are available at: http://thethin.net/links.cfm For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm