If you are running all NT-based clients, you can use the IFMEMBER.EXE
utility in the resource kit. If you have Win9x-based clients, you'll need
to use a 3rd-party scripting utility like KiXtart or ScriptLogic (or you can
write VBScript).
Randy Barger, MCSE, CCNA, CNA
ConsultIT -- http://ConsultIT.bizhosting.com/
___________________________________________________________________
eMail: randy_...@yahoo.com Cell/Pager: 402.730.7184
ePage: 40273...@messaging.sprintpcs.com eFax: 707.924.0204
"billy" <bil...@usbionline.com> wrote in message
news:84c401c1be34$9a5c4680$3bef2ecf@TKMSFTNGXA10...
> HI,
> This is an easy question. I'v just started writing logon
> scripts. I was wondering if win2k had a "IF" and "THEN"
> statment like Novell. I want one script to mapp drives
> deppending on what group they belong to. Any information
> would be helpful.
> Thank You
A couple of general points -
(1) If you are using Win9x/NT clients and you go to a "better" feature
set allowed by KiXtart or WSH, you will still need to have a batch
file "starter" since that is all the older clients will recognize; you
can then start Kix or WSH scripts from the batch file.
(2) For newer clients on a Win2K network, you may be able to use
policies to do this so you don't have to write cumbersome scripts.
W2k supports IF...ELSE constructs (even NT4 did, it just wasn't documented)!
Just type if /? in a command box.
Since NT4 Microsoft develops a quite good command interpreter.
"billy" <bil...@usbionline.com> schrieb im Newsbeitrag