DJ,

You really should read some of the links I mentioned. Here is possible extension of Radimus script for Win9x:

code:
md c:\kixscripts
if not exist('c:\kixscripts\kix32.exe')
copy '\\sussex1\netlogon\Client Shortcut\kix32.exe' 'c:\kixscripts'
endif
if not exist('c:\kixscripts\my computer information.kix')
copy '\\sussex1\netlogon\Client Shortcut\my computer information.kix' 'c:\kixscripts'
endif
IF @INWIN=1
$desktop = ReadValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Desktop")
ELSE
if not exist('c:\kixscripts\kx32.dll')
copy '\\sussex1\netlogon\Client Shortcut\kx32.dll' 'c:\kixscripts'
endif
if not exist('c:\kixscripts\kx16.dll')
copy '\\sussex1\netlogon\Client Shortcut\kx16.dll' 'c:\kixscripts'
endif
if not exist('c:\kixscripts\kx95.dll')
copy '\\sussex1\netlogon\Client Shortcut\kx95.dll' 'c:\kixscripts'
endif
$desktop = 'C:\windows\desktop'
ENDIF
if not exist('$desktop\my computer information.lnk')
copy '\\sussex1\netlogon\Client Shortcut\my computer information.lnk' '$desktop'
endif

I haven't tested this though. It is really just a conversion of the code NTDOC offered you without the COM stuff. Also, in the first link on this subject I offered you, Lonkero gives an excellant example of how to do shortcut copying with Win9x.

I don't agree with copying kix32.exe in your kix script. Ideally, you always want to ensure that only 1 version of kix exist locally & it should always be the current version. Once you start kix up you can not change it during that instance.

A better idea is to do the copying of Kix & its DLLs from a batch script just before kix is called. This way you will never have version conflicts. Here is an example by sealeopard (2nd posting) of how you might implement this.

Jen's logon.bat with kix deployment

There are other ways to do this but this is very clearly layed out. This is a link I mentioned before.

PS: For an excellant example of a full blown logon & maintenance service implemented through kix, checkout jens' (sealeopard) ksms script. You can get it by searching the scripts forum for 'ksms' or visting jens' website.

[ 24. February 2003, 16:29: Message edited by: Jack Lothian ]
_________________________
Jack