durex Posted November 27, 2004 Share Posted November 27, 2004 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 More sharing options...
CoffeeFiend Posted November 27, 2004 Share Posted November 27, 2004 (edited) . Edited November 7, 2006 by crahak Link to comment Share on other sites More sharing options...
durex Posted November 28, 2004 Author Share Posted November 28, 2004 Well, thats fine.. but what would the additional parameter be that would allow me to name it? Link to comment Share on other sites More sharing options...
CoffeeFiend Posted November 28, 2004 Share Posted November 28, 2004 (edited) . Edited November 7, 2006 by crahak Link to comment Share on other sites More sharing options...
durex Posted November 28, 2004 Author Share Posted November 28, 2004 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 More sharing options...
/\/\o\/\/ Posted December 15, 2004 Share Posted December 15, 2004 durex,can't find the description either, not in WMI win32_mappeddrive alsobut 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 valuegr /\/\o\/\/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now