Page 1 of 1 1
Topic Options
#190490 - 2008-11-04 05:13 PM Calling a kix from within a kix script
verbel Offline
Just in Town

Registered: 2008-11-04
Posts: 3
I am attempting to call a kix script from within my kix logon script. I thought I could just use the call function but that does not seem to work. Is there another way to do it?
Top
#190491 - 2008-11-04 05:26 PM Re: Calling a kix from within a kix script [Re: verbel]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4402
Loc: New Jersey
Welcome to KORG!

Call should work fine - are you using a complete path? (\\domain\netlogon\script.kix)

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#190493 - 2008-11-04 05:55 PM Re: Calling a kix from within a kix script [Re: Glenn Barnas]
verbel Offline
Just in Town

Registered: 2008-11-04
Posts: 3
Thanks for the welcome and the quick reply. I was using a path like this

Call @LSERVER + "\\domain\netlogon\script.kix"

It did not seem to like that even though thats what Iuse for alot of my other scrpts. I moved the script to a different share I have and now it seems to work.

Top
#190494 - 2008-11-04 06:01 PM Re: Calling a kix from within a kix script [Re: verbel]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4402
Loc: New Jersey
Well, that's your problem - ditch the @LSERVER part!

When you reference "\\@DOMAIN\netlogon\script.kix", you're telling it to use the default DC. You'd use EITHER the @LSERVER + netlogon OR @DOMAIN + netlogon, but not both.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#190496 - 2008-11-04 06:10 PM Re: Calling a kix from within a kix script [Re: Glenn Barnas]
verbel Offline
Just in Town

Registered: 2008-11-04
Posts: 3
I mistyped I actually use

Call @LSERVER + "\netlogon\****\****\script.kix"

Top
#190499 - 2008-11-04 07:33 PM Re: Calling a kix from within a kix script [Re: verbel]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
and what's the @error?
_________________________
!

download KiXnet

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 764 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.056 seconds in which 0.026 seconds were spent on a total of 13 queries. Zlib compression enabled.

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