thanks for the relpies

what i need is desktops to follow selected users around diffrent machines

i have just tried adding a block of endif's to the end of the section which made no diffrence

do i need to

if @userid="user46" use k: "\\$lserver\user46_desktop$" DbgMessage("Info ","personnel drive mapped user46_desktop") else use k: "\\$lserver\clc staff desktop$" DbgMessage("Info ","clc staff drives") Endif

for each user that needs thier own desktop