You need to do a little searching on the web for the "net use" command, But I will give you an example.
Say your server name is server and you have a shared folder(ibay) called stuff, and you want to map it as drive g
The line in your logon.bat file would be
net use g: \\server\stuff
This is a very basic example, but I hope it gets you going
Bob