#26796 - 2002-08-09 02:05 PM
CALL Question
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Looking in the documentation for CALL we see:
CALL "script name"
Or..
CALL "scriptname.kix"
But, from what I have seen in the %LOGONSERVER%\NETLOGON share, this does not work properly. What you have to do to make this work is:
CALL @ldrive+"scriptname.kix"
If you initiate the "main" .KIX file from the NETLOGON share wouldn't the sub files be called like how it is specified in the documentation?
Thanks,
Kent
|
|
Top
|
|
|
|
#26800 - 2002-08-09 04:30 PM
Re: CALL Question
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Thanks for the responses!
Looking at these macros, any one of these would work..
@LDRIVE - Drive that is redirected to \\logonserver\NETLOGON @CURDIR - Current directory @SCRIPTDIR - Directory of current script
The question is why doesn't Kixtart do the call (by default) from the same directory?
I did not realize that this was an issue until I started testing the script more thoroughly under Windows NT 4. My bad.
Thanks,
Kent
|
|
Top
|
|
|
|
#26802 - 2002-08-09 04:47 PM
Re: CALL Question
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Lonkero,
Put..
?@curdir
In the test script and it shows:
C:\
Hmmm..
Kent
|
|
Top
|
|
|
|
#26804 - 2002-08-09 04:53 PM
Re: CALL Question
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
In test script, we are using MCA's KIX410UPDATE.EXE (with some modifications) and is launched from %windir%.. The KIX32.EXE is in C:\WINNT..
Cheers,
Kent
|
|
Top
|
|
|
|
#26806 - 2002-08-09 05:35 PM
Re: CALL Question
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Jooel,
Get the following result.. quote:
Script error: unknown or unexpected command [C:\!Kix]!
Hmm..
Get the same thing from the server.. quote:
Script error: unknown or unexpected command [\\SERVER\netlogon]!
Thanks,
Kent
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 2220 anonymous users online.
|
|
|