eziots

Check the following portion of my batch file. NT is a breeze with Kix, but 95 has had some issues. I support 500 people also and copying kix down to the c:\windows directory took a LOT of headaches away.

GOTO KIX

REM set the destination directory for KiXtart files
REM for Windows directory use SET KIXDIR=%WINDIR%

:KIX
SET KIXDIR=%windir%
REM The following line points the machine to the server running the Kix RPC service

SET kxrpc=\\servername

REM set the full UNC path to the KiXtart script
REM (the Z: drive cannot be used here, it no longer exists when
REM the KiXtart script is running from RunOnce)

SET KIXSCRIPT=\\SERVERNAME\NETLOGON\KIXTART.KIX

REM set the filename of the KiXtart version tag;
REM change this name to upgrade to a newer version of KiXtart

SET KIXVER=KIX361.TAG

REM ---------------------------------------------------------------------

REM perform a completely new install or upgrade of KiXtart
REM if the current version tag can not be found

IF EXIST %KIXDIR%\%KIXVER% GOTO KIXCOPIED
COPY %0\..\KIX32.EXE %KIXDIR% /Y >NUL
COPY %0\..\KX16.DLL %KIXDIR% /Y >NUL
COPY %0\..\KX32.DLL %KIXDIR% /Y >NUL
COPY %0\..\KX95.DLL %KIXDIR% /Y >NUL
ECHO. >%KIXDIR%\%KIXVER%

:KIXCOPIED

REM check all KiXtart files individually and restore them
REM if something has been deleted accidentally by the user

IF NOT EXIST %KIXDIR%\KIX32.EXE COPY %0\..\KIX32.EXE %KIXDIR% >NUL
IF NOT EXIST %KIXDIR%\KX16.DLL COPY %0\..\KX16.DLL %KIXDIR% >NUL
IF NOT EXIST %KIXDIR%\KX32.DLL COPY %0\..\KX32.DLL %KIXDIR% >NUL
IF NOT EXIST %KIXDIR%\KX95.DLL COPY %0\..\KX95.DLL %KIXDIR% >NUL

COPY %0\..\KIXTART.KIX %KIXDIR% /Y >NUL
REM cd\%kixdir%
KIX32.EXE KIXTART.KIX