Yes Lonkero,
but does this script also install, when no Kixversion is installed at all?
Because I want the update (or fresh install) to take place in the LOGON.bat, before it enters the kix script. Reading your script makes me think, it doesn't install at all if the .ok file is missing.
I now have it working like this (i know very simple, but i am after all simple minded.
code:
:KixDir
if not exist c:\utils\kix\*.* md c:\Utils > NUL
if not exist c:\utils\kix\*.* md c:\Utils\Kix > NUL
If not exist c:\utils\kix\kix32.exe goto CopyFiles
If not exist c:\utils\kix\kx16.dll goto CopyFiles
If not exist c:\utils\kix\kx32.dll goto CopyFiles
If not exist c:\utils\kix\kx95.dll goto CopyFiles
Goto Environment
:CopyFiles
XCOPY %0\..\KIX32.EXE c:\utils\kix\ /D /H /I /R /V > NUL
XCOPY %0\..\KX16.DLL c:\utils\kix\ /D /H /I /R /V > NUL
XCOPY %0\..\KX32.DLL c:\utils\kix\ /D /H /I /R /V > NUL
XCOPY %0\..\KX95.DLL c:\utils\kix\ /D /H /I /R /V > NUL
:Environment
set kixcmd=c:\Utils\Kix\Kix32.exe
But this way, it won't check the kixversion.
So very simple, I'd like the batch file to check 2 things before commencing an install or update:
Is Kix installed at all? >> Install (or copy) it to C:\Utils\Kix
Does the local version differ from the one stored in the @LDRIVE >> copy the server version to local.
I thought the update.exe was the easiest way, because it checks and installs or upgrades everything at once.
Brian.
_________________________
Rodney Dangerfield:
“My mother didn't breast-feed me. She said she liked me as a friend.”