I think the mapping statement needs to be fixed. Try this:

variables
$s="\\servername"
$u=@userid
$x="$$"
$dir=$s+"\"+$u+$x

use H: $dir

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

I am guessing that the share name is hidden. I didn't understand what the goto $g line was for and I didn't know where the $g=@comment was going either. Hope this helps.

------------------
Gus Dalinis
Systems Analyst

_________________________
Gus Dalinis Systems Analyst