Page 1 of 1 1
Topic Options
#26580 - 2002-08-06 02:11 PM Lmscript.exe problem
andrej Offline
Lurker

Registered: 2002-08-05
Posts: 2
I have some questions:

When user login into domain the login script starts. Some user already have installed renamed kix32.exe to lmscript.exe.
Here's the problem:
If the login script include %0\..\kix32 domain.kix then the script is executed correct on machines that have not installed renamed kix32.exe to lmscript.exe.
If the machine have renamed kix32.exe to lmscript.exe, the login screen don't execute.

How to detect when user login into domain how to run script (with kix32.exe on server or lmscript.exe on local machine).

[ 06. August 2002, 14:13: Message edited by: andrej ]

Top
#26581 - 2002-08-06 02:16 PM Re: Lmscript.exe problem
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
andrej,

Did you have a look at the manual? Ruud talks about this.. For example, in the 4.10 release, it is on page 112.

Thanks!

Kent

[ 06. August 2002, 14:21: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#26582 - 2002-08-06 03:27 PM Re: Lmscript.exe problem
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Also, I would not replace LMSCRIPT.EXE at all but rather use a batch file to start the login script. Take a look at the numerous LOGIN.BAT examples posted on the BBS.
_________________________
There are two types of vessels, submarines and targets.

Top
#26583 - 2002-12-02 10:56 AM Re: Lmscript.exe problem
MCA Offline
KiX Supporter
*****

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

Renaming problem can be solved with a COPY action.
The LMscript.exe is only useful within Windows 9x environment.
So you can add following statements add your BATch file:
code:
@echo off
rem -
rem - installation phase of kix32.exe, kx16.dll, kx32.dll & kx95.dll on your client -
rem -
rem - f.e. with our package KIX412UPDATE
rem
if not exist c:\windows\nul goto NTx
if not exist c:\windows\kix412.ok %0\..\kix412update /q
if exist c:\windows\system\lmscript.exe del c:\windows\system\lmscript.exe
copy c:\windows\kix32.exe c:\windows\system\lmscript.exe
goto next
:NTx
if not exist c:\winnt\kix412.ok %0\..\kix412update /q
:next
kix32 %0\..\your_script.kix
@echo off

greetings.

btw: symbol  - on our homepage has been linked to related http://kixtart.org topic.
_________________________
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
0 registered and 731 anonymous users online.
Newest Members
JimDunn, fgarcia, Viginette, ManuvdWielNL, Sir_Barrington
17890 Registered Users

Generated in 0.051 seconds in which 0.024 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