Page 1 of 1 1
Topic Options
#9570 - 2001-06-15 02:23 AM calling a kix script from a batch file
Anonymous
Unregistered


I am having some major issues. I am distributing via Tivoli a kix script and a batch file to our workstations. The batch file will call the kix script. the problem is kix32 will get called but the script will not run. If i remote control into the box and run the batch it runs just fine. I am kinda new to kixtart, but i thought this was fairly straight forward.

The batch file looks like this:

d:\winnt\system32\kix32.exe d:\winnt\system32\inst.kix

Thanks in advance.

Top
#9571 - 2001-06-15 03:13 AM Re: calling a kix script from a batch file
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Hello canes001,

When you say the batch file is "called" what exactly do you mean called?

You can try something like:

%WINDIR%\SYSTEM32\KIX32.EXE %0\..\INST.KIX

Also, please do a search on this board for LOGIN.BAT and it should provide a lot more insight about this issue.

Hope this helps.

NTDOC

Top
#9572 - 2001-06-15 03:26 AM Re: calling a kix script from a batch file
Anonymous
Unregistered


what i mean is the batch file is used only to initiate the start of the kix file. A very simple batch.

kix32.exe d:\somefile_name.kix

Top
#9573 - 2001-06-15 04:45 AM Re: calling a kix script from a batch file
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

On which location your are installing kix32.exe & other files. Is it the c:\windows or c:\winnt directory?
Is your script really situated on your D-drive?

What is the reason you are choosing for the distribution of your script to clients and
why aren't you using the NETLOGON directory for running?
It isn't easily to change scripts for users with a decentral installation of it.

The batch file in your NETLOGON directory can be

code:

@echo off
%0\..\kix32.exe %0\..\somefile)name.kix
@echo off


Greetings.

------------------
Site map:

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

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
1 registered (Allen) and 33 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.088 seconds in which 0.062 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