I have a login script batch file that maps a user to a network home drive using the %username% variable and that works great. What i want to be able to do now is to map to the users departmental folder such as "Customer Services", "Marketing" etc. I can map to the top level "Department" OK but i want to be able to go down one level to that actual department name, so
\\servername\department\marketing etc.
Is there any kind of variable i can use for this, the file server is Win2k3 with Win2k3 domain. I have the script being pushed through Group policy in Active Directory.
Any help would be appreciated.
Thanks
Mark