PDA

View Full Version : Rename NetworkDrive (WXP)



popol
02-25-2003, 02:28 AM
With the following script :
Set oNet = CreateObject ("Wscript.Network")
oNet.MapNetworkDrive "L:" "\\Server\NameShare"

I have a NetworkDrive in Windows Explorer named : NameSahre of 'Server comments'(srvname) x:

How can i rename this drive using script ?