You are missing an EndSelect and it should be Case 1 instead of Case 0. Cleaning the group cache might also be needed. To do this start kix with the /f parameter or delete this registry key HKEY_CURRENT_USER\Software\KiXtart\TokenCache.

 Code:
Select
	Case InGroup("xxxxxx")
		Call @ldrive + $Path + "\xxxxx\xxxxx.kix"
		If @error = 4 	; Checks for forced exit of script
			Goto ScriptError
		EndIf
	Case 1
		Goto ScriptError
		? "The user does not belong to a site group or belongs to more than one."
EndSelect
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.