Page 1 of 1 1
Topic Options
#36096 - 2003-02-05 11:33 PM Command Line Parameter
Randy Wong Offline
Lurker

Registered: 2003-02-05
Posts: 1
Loc: San Rafael, CA
Does KixTart scripts accept command-line parameters?

I am creating a NETLOGON login script.

In the Domain User profile (AD admin tools), I know I can insert something like LOGON.BAT in the Logon Script dialog.

1) can you insert a kix32.exe executable statement?

example: instead of LOGON.BAT
how about: kix32.exe logon.kix

2) can you do:
kix32.exe logon.kix LOC

in other words, passing LOC into LOGOON.KIX??
_________________________
Randy Wong

Top
#36097 - 2003-02-06 12:08 AM Re: Command Line Parameter
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
Hey Randy...This is possible. But instead of passing just the value you must assign a variable to it.

kix32.exe logon.kix $location=LOC
or
kix32.exe logon.kix $xxx=LOC

Then $location and $xxx will both be equal to LOC in the script.

Top
#36098 - 2003-02-06 04:08 AM Re: Command Line Parameter
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
This is explained in the KiXtart Manual on page 21 and in the FAQ Forum under Quote (") characters on the command line.

[ 06. February 2003, 04:09: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

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 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.049 seconds in which 0.029 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