...and better yet since you have a 2008 box you can use group policy preferences to map the drives. the MS directory team has a great blog entry on that here:
Thanks
Mike
Hello Experts thanks for reading
here is the goal. Im setting up a single server 2008 AD domain. I have 10 users and i would like to provide a login script system. I have never wrote a login script before so i would like some help on the syntax. The setup is this. I have on the server a shared directory that holds folders for all users. These folders are intended to be their storage or home folders. I would like a script that would map to the user's respective folder and also point the 'my document' to that mapped share.
Thanks in advanced
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
You will also need to specify the logon script name in your user account information.
On your server, open notepad, enter
@echo off
net use x: \\servername\sharename
save it as logon.bat
browse to \\localhost\netlogon
copy the logon.bat file here.
Open Active Directory Users and Computers
Right click on a user > properties > profile
Under "user profile" Logon Script: logon.bat
Under "home folder" Local Path: \\servername\path\to\home\
Apply > OK.
logoff a client PC and login again, open my computer to see a mapped x: drive.
Done!
Business Accounts
Answer for Membership
by: OvePosted on 2009-11-05 at 15:38:58ID: 25755322
hi!
cripts
you shouldn't do this via login-script. Better use the group-policies for the folder-redirection of "My Documents".
The home-dir should be set inside the account-information of the specific user.
When using a login-script syntax is easy:
net use x: \\servername\sharename
put this as "user.bat" inside c:\windows\sysvol\domain\s
Ove