Hmm. first off.. it's ENDIF not END IF .. that could be part of the problem?

Otherwise, it could be something like:

code:
IF "@HOMESHR" <> "" USE H: @HOMESHR ENDIF

IF INGROUP("PER") <> 0
USE G: "\\server\PER$$"
ENDIF

IF INGROUP("ACD") <> 0
USE G: "\\server\ACD$$"
ENDIF

This assumes that you are using the \\server\groups\ACD folder and sharing it as ACD$. Also, that you are using the \\server\groups\PER folder and sharing it as PER$.

If this isn't quite right, then I'll need more info to understand what you're doing.

Brian