Jump to content

Renaming mapped drives


Recommended Posts

Im using a vbscript (WShNetwork.MapNetworkDrive) to map several drives... anyone know how I can set a specific name for each of them? Whether its adding another parameter to my vbscript or an additional batch Ill need to create, or even a reg setting...

Thanks!

Link to comment
Share on other sites


Thats what Im using but when I do that I end up with

<Foldername> on '<Servername>' (<MapDriveLetter>)

From there I can rename the drive to whatever I want ie: "Pics (Y:)". Just wondering what needs to be done to have this done automatically...

Link to comment
Share on other sites

  • 3 weeks later...

durex,

can't find the description either, not in WMI win32_mappeddrive also

but I'v found it in the registry, you can change it there after making the mapped drive.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\##[server]#[share]

add REG_SZ _LabelFromReg there and add your description as value

gr /\/\o\/\/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...