Here is another way to approach this.

Code:

$m="millen"
$t="titania"
SELECT
Case Trim(Split(@IPADDRESS0,'.')[2]) = "0"
$v=$m
Case Trim(Split(@IPADDRESS0,'.')[2]) = "1"
$v=$t
EndSelect
Use G: "\\"+$v+"\g_drive"
Use H: "\\"+$v+"\_root"
Use P: "\\"+$v+"\@USERID"
Exit



Edited by Cybex (2004-11-17 05:08 PM)
_________________________
Common sense isn't so common.