MSFN Forum: Renaming mapped drives - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Renaming mapped drives Rate Topic: -----

#1 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 27 November 2004 - 02:27 PM

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!


#2 User is offline   CoffeeFiend 

  • Coffee Aficionado
  • Group: Super Moderator
  • Posts: 5,031
  • Joined: 14-July 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 27 November 2004 - 04:22 PM

.

This post has been edited by crahak: 07 November 2006 - 07:08 AM


#3 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 27 November 2004 - 08:58 PM

Well, thats fine.. but what would the additional parameter be that would allow me to name it?

#4 User is offline   CoffeeFiend 

  • Coffee Aficionado
  • Group: Super Moderator
  • Posts: 5,031
  • Joined: 14-July 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 27 November 2004 - 10:09 PM

.

This post has been edited by crahak: 07 November 2006 - 07:08 AM


#5 User is offline   durex 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 953
  • Joined: 21-October 04

Posted 28 November 2004 - 01:36 PM

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...

#6 User is offline   /\/\o\/\/ 

  • Member
  • PipPip
  • Group: Members
  • Posts: 101
  • Joined: 26-April 04

Posted 15 December 2004 - 11:22 AM

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\/\/

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy