Wow, Looks like that script can be consolidated.
You don't need the SELECT statement.
You can organize the script in a way where all COMMON mappings are in the same location.
Code:
;;; Common Drive Mappings ;;;
use f: /d
use f: "\\ijb-00i\sys"
use g: /d
use g: "\\ijb-00i\sys"
use h: /d
use h: "\\ijb-00i\vol1"
;etc....
Then you can break out to your department mappings that are unique to each department...
Code:
;;; Group Specific Mappings ;;;
IF INGROUP("Administratie")
use i: /d
use i: "\\ijb-00i\users\%username%"
use j: /d
use j: "\\ijb-00i\users\administ"
use k: /d
use k: "\\ijb-00c\IJB Heipalen"
ENDIF
IF INGROUP("IJB Enginering")
;etc...
ENDIF
And if you have a Windows domain you can identify the Home folder for each user in their user profile settings. Windows will automatically map the Home drive for you if this is setup properly, eliminating the need for a logon script to do it.
_________________________
let the wise listen and add to their learning,
and let the discerning get guidance- Proverbs 1:5