Page 1 of 1 1
Topic Options
#38471 - 2003-03-26 11:40 PM New to Kixtart,
kixstartbeginer Offline
Lurker

Registered: 2003-03-26
Posts: 3
I am trying to run a basic logon script, but I am doing something wrong. When I try just to run the first if usergroup it works, but when I try to add a second usergroup to the script it doesnt run either one. Here is the script:

START /w KIX32.EXE

if Ingroup("Loan Officers")
net use p: \\pacific\point
net use k: \\informatix\peregrine

if Ingroup("Domain Admins")
net use p: \\pacific\point
net use k: \\informatix\peregrine
net use z: \\brett\pef\mis
endif

Top
#38472 - 2003-03-26 11:53 PM Re: New to Kixtart,
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, lets correct the syntax.
try with this:
code:
if Ingroup("Loan Officers") 
use p: "\\pacific\point"
use k: "\\informatix\peregrine"
endif
if Ingroup("Domain Admins")
use p: "\\pacific\point"
use k: "\\informatix\peregrine"
use z: "\\brett\pef\mis"
endif

_________________________
!

download KiXnet

Top
#38473 - 2003-03-26 11:59 PM Re: New to Kixtart,
kixstartbeginer Offline
Lurker

Registered: 2003-03-26
Posts: 3
Do I need to have START /w KIX32.EXE in my script? [Smile]
Top
#38474 - 2003-03-27 12:03 AM Re: New to Kixtart,
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
no.
if you use batch-file to call kixtart, then you have to call it somehow.
but no, not in script.
_________________________
!

download KiXnet

Top
#38475 - 2003-03-27 12:13 AM Re: New to Kixtart,
kixstartbeginer Offline
Lurker

Registered: 2003-03-26
Posts: 3
Great I figured it out thanks for the help!!
Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1452 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.155 seconds in which 0.124 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org