Hi,

Thank to NTDOC and Shawn I got the follwoing script
Up to the second IF
Can any one help me with why I get only the 2 drive one is the k drive which I set on the user profile and the other one is the last one the Z drive.

Dim $0S
$OS=SetOption('Explicit','off')
$OS=SetOption('NoVarsInStrings',On)
$OS=SetOption('WrapAtEOL','On')

Dim $Msg,$Answer

$Answer = MessageBox ("please confirm that you have read and understood the firm's IT policy. If you have any questions relative to this please contact Gary or Rae", "Remider", 4180)

If $Answer <> 6
$Msg=MessageBox ( "You are unable to log to the network", "call your IT Administrator", 4112)
Logoff(1)
Else
;$ = shutdown("","you are being logged off",45,1,1)

$Msg=MessageBox ("You are now beeing connected to the network","Welcome to Johnsons MME",64,5)
Endif

If InGroup("JMME-General")

use f: "\\jmmes\Vol1"

use g: "\\jmmes\mCalas"

use h: "\\jmmes\caldata"

use i: "\\jmmes\s6system"

use j: "\\jmmes\winapp"

; K: Drive Mapped by OS as Home Share

use l: "\\jmmes\abas"

use m: "\\jmmes\vol1"

use n: "\\jmmes\netapps"

use o: "\\jmmes\JMME-FPlan"

use p: "\\jmmes\apps"

use q: "\\jmmes\NotesMME"

use s: "\\jmmes\vol2"

use t: "\\jmmes\templates"

use y: "\\jmmes\PWCDll"

use z: "\\jmmes\Mcalasutils"


Endif