You can also check for multiple groups by:
Code:
If  Execute("Exit InGroup($aktGroup)") = 1
? "Connecting $aktdrive " use $aktdrive "\\"+"$aktpath"
EndIf



but check that the quotes (") are still in place in the $aktGroup variable.