variables
$s="\\servername"
$u=@userid
I want to thank you very much I use the information you gave me and it did not work anyway I look in the manual and use the option = 1 to tell what group I am looking for, because I am using win 95/98 and all is working great.

Thanks again

Below you will see where I add the = 1
$x="$$"
$dir=$s+"\"+$u+$x

use H: $dir

IF INGROUP("group name") = 1
USE G: "$s\group\shared name$x"
ENDIF

I also use the "" after the use G: command.