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!
Page 1 of 1
Renaming mapped drives
#2
Posted 27 November 2004 - 04:22 PM
.
This post has been edited by crahak: 07 November 2006 - 07:08 AM
#3
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
Posted 27 November 2004 - 10:09 PM
.
This post has been edited by crahak: 07 November 2006 - 07:08 AM
#5
Posted 28 November 2004 - 01:36 PM
Thats what Im using but when I do that I end up with
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...
<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
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\/\/
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\/\/
- ← [VB.NET] how to execute a program from
- Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
- Automatic testing application / scenarios ? →
Share this topic:
Page 1 of 1



Help

Back to top









