How about "net use $drive" ?