well, you can do simple checking to find out why it doesn't work like you want it to...

If InGroup("San Francisco IBG")
"Ingroup SF IBG" ?
net use k: "\\some\some"
@error "- " @serror ?
else
"not in SF IBG" ?
endif
_________________________
!

download KiXnet