Hi all...

As mentioned in Subj I have two errors when using KiXtart2001 beta 2:

I start my script with a logon.bat file:

@Echo Off
cls

IF "%OS%" == "Windows_NT" GOTO WinNT
XCOPY %0\..\kix32.exe %WINDIR%\ /D /H /I /R /V > NUL
XCOPY %0\..\kx16.dll %WINDIR%\System\ /D /H /I /R /V > NUL
XCOPY %0\..\kx32.dll %WINDIR%\System\ /D /H /I /R /V > NUL
XCOPY %0\..\kx95.dll %WINDIR%\System\ /D /H /I /R /V > NUL
GOTO RunScript

:WinNT
XCOPY %0\..\KIX32.EXE %WINDIR%\ /D /H /I /R /V > NUL
IF EXIST %WINDIR%\SYSTEM\KX16.DLL DEL /F %WINDIR%\SYSTEM\KX16.DLL
IF EXIST %WINDIR%\SYSTEM\KX32.DLL DEL /F %WINDIR%\SYSTEM\KX32.DLL
IF EXIST %WINDIR%\SYSTEM\KX95.DLL DEL /F %WINDIR%\SYSTEM\KX95.DLL
GOTO RunScript

:RunScript

%WINDIR%\Kix32.exe %0\..\logon.kix

:End

The problem comes when kix32.exe should run %0\..\logon.kix Sometimes (and ONLY sometimes) I get an error-msg stating: >>>KiXtart 2001<<< script error: failed to find/open script !

I just have to log off / log on again, and the script runs smoothly (sometimes i must try several times).

I never experienced this error with KiXtart 3.6x (and it is the same script)

My second error is less severe - just cosmetic to my script:
In the start of my logon.kix, I have this little section:

SELECT
CASE ((@TIME >= 00:00:00) AND (@TIME <= 09:00:00))
$TimeGreeting = "Good morning"
CASE ((@TIME > 09:00:00) AND (@TIME <= 18:00:00))
$TimeGreeting = "Good day"
CASE ((@TIME > 18:00:00) AND (@TIME <= 23:59:59))
$TimeGreeting = "Good evening"
ENDSELECT

And the script ends with a MESSAGEBOX (" $TimeGreeting and welcome, @fullname... You are now blah blah blah

Smart, I think - but with KiXtart 2001 beta2 it says good morning all the time - no matter what @TIME it is ??? Allthough my test-users never even noticed this, I find it a little annoying, and again: it works fine with kiXtart 3.6x

Anybody seen these errors - or is it errors in my script - or what ??? Any solutions ???

Regards

'Møller'