When you map a drive in win200 or XP there is an option to reconnect at logon. Select that oprion if you have 2000 or XP. Also you could make a .bat file and set it to run on startup. The command for the bat script would be
net use z: \\computer\sharename
Hope this helps.