
rename a drive / map network drive
Hello!
im running windows 2000 here and im looking for a way to map network
drives automatically.. ive managed that, but now i want to rename
those drives automatically. but i cant fix it.
for example:
Set filesys = CreateObject("Scripting.FileSystemObject")
Set drv = filesys.GetDrive("c")
MsgBox drv.VolumeName = "testing"
would be sufficient to rename it. but i always get False.. and it
doenst rename the drive ofcourse..
(i'm under the administrator account)
but the same code works on my xp comp..
any ideas?
thanks