I hope you aren't trying to do this on Win9x or WinNt machines - it won't work. Read the manual - deep mappings (what you call more then 1 in) will not work with Win9x or WinNT clients.

If these are Win2000 or higher clients the this should work

code:
USE H: "\\SERVER02\users\" + @USERID 

Of course, if the clients are WinNT or higher then you should be able to automap the user directories through the user manager. Then you wouldn't need this code,

CO's solution above implies you will restructure & rename your user shares. If you do this then your your mappings will work with all flavours of Windows.

[ 21. October 2003, 16:58: Message edited by: Jack Lothian ]
_________________________
Jack