This part :

code:
  SELECT
CASE INGROUP ("MOVED_USERS")
GOSUB gla
CASE INGROUP ("GRAMPIAN-GRP")
GOSUB gra
CASE INGROUP ("PANDD-GRP")
GOSUB pan
CASE 1
; not in any of the above groups
ENDSELECT

If windows 95, it seems to ignore if a user is a member of each of those groups and exits or in NT, it recognises GLA and GRA but not PRI or PAN, if a user is a member of any of those groups it will map drives for both of them regardless!!
_________________________
Cazzjh