If I use the "Ingroup" function, I would have to do the following:

IF Ingroup("aaaInl") use x: \\Server\aaa
EndIF
IF Ingroup("aabInl") use x: \\Server\aab
EndIF
IF Ingroup("abcInl") use x: \\Server\abc
EndIF
IF Ingroup("95fInl") use x: \\Server\95f
EndIF

That would make my loginscript very loooong.

What I was thinking was something like this:

$Group=""
"if user is in a group that ends with INL, then set $Group to the 3 letters before INL"
use x: \\Server\$Group

What I'm missing is the code that does the things in the quoted line.

Makes this any sense??
Frippe