Hello Kathy I just got my INGROUP problem working and maybe my fix will work for you. I have multiple OS's as well. I have a LOGIN.BAT file executing my KIX script, as follows;
LOGIN.BAT @echo off Rem Branched startup script for Kixtart. Rem Windows XP drops all parameters after EXE if %0 is used. Rem %0\..\ is only required for Windows 95, 98, and Me. Rem Detect OS (NT or other) if (%OS%) == (Windows_NT) goto NT_XP
:9x %0\..\wKix32.exe testsmh.kix goto end
:NT_XP wkix32.exe test.kix :end
End LOGIN.BAT
Begin TEST.KIX
SELECTCASE InGroup("Group") $Drive="drive letter" $SHARE="\\servername\share" ? "Mapping drive $Drive to $Share" Use "$Drive:" /Delete Use "$Drive:" $ShareIf @error = 0 ? " Map Successful" eLSE ? " Error mapping drive $Drive to $Share" EndIF $Drive="drive letter" $Share="\\servername\share" ? "Mapping drive $Drive to $Share" Use "$Drive:" /Delete Use "$Drive:" $ShareIf @error = 0 ? " Map Successful" eLSE ? " Error mapping drive $Drive to $Share" EndIFENDSELECT
--------------------------------------------------------------------------------
FYI for other novices; Each "GROUP" must have only a single CASE statement following the SELECT statemet with all the subsequent drive mappings underneath. Only use the "ENDSELECT" statement at the very end of your script.
Try this logic and apply it to your situation, I hope this helps.
|