Have you tried using the subst command here are some examples:

shell "subst w: \\servername\users\@userid"
shell "subst c: m:\users\@userid"