ok thanx.

the script i now have is like this.
-----------------------------------------------------------------
SELECT

IF INGROUP("Administratie")

use f: "\\ijb-00i\sys"
use g: "\\ijb-00i\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00i\sys\frieslandb"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00i\acad"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
use Y: "\\ijb-00i\users"
ENDIF

IF INGROUP("IJB Enginering")
use f: "\\ijb-00i\sys"
use g: "\\ijb-00i\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00b\flexlm"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00i\acad"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
use z: "\\ijb-00i\esa51"
ENDIF

IF ingroup("IJB Heipalen verkoop")

use f: "\\ijb-00i\sys"
use g: "\\ijb-00i\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00b\flexlm"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00c\sys"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
ENDIF

IF ingroup("IJB Funderingen")

use f: "\\ijb-00i\sys"
use g: "\\ijb-00c\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00b\flexlm"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00i\acad"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
ENDIF

IF ingroup("IJB Geotechniek")

use f: "\\ijb-00i\sys"
use g: "\\ijb-00i\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00b\flexlm"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00i\acad"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
EndIF

IF ingroup("IJB Mortel")

use f: "\\ijb-00i\sys"
use g: "\\ijb-00c\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00b\flexlm"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00i\acad"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
ENDIF

IF ingroup("Technische Dienst")

use f: "\\ijb-00i\sys"
use g: "\\ijb-00i\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00b\flexlm"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00i\acad"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
ENDIF

IF ingroup("IJB Milieu")

use f: "\\ijb-00i\sys"
use g: "\\ijb-00c\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00b\flexlm"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00i\acad"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
ENDIF

IF ingroup("domain admins")

use f: "\\ijb-00i\sys"
use g: "\\ijb-00i\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00b\flexlm"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00i\acad"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
ENDIF

ENDSELECT
-----------------------------------------------------------------

if there is somthing missing please tell me.


Edited by roedie (2005-11-22 12:42 PM)