locked
Map drive to a folder name RRS feed

  • Question

  • 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
    Monday, September 7, 2009 3:34 PM

Answers

  • 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

    This forum is for Windows Home Server.  You should post your question in the Windows Server forums.
    Monday, September 7, 2009 5:51 PM
    Moderator