rename a drive / map network drive 
Author Message
 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



Sun, 20 Mar 2005 15:43:32 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. get drive size from network network mapped drives

2. Map drive and rename it...

3. Change to a Mapped network drive

4. How to map network drive via code?

5. How do I Map a Network Drive?

6. Mapping Network Drive in VBA

7. Map Network Drive

8. MAPPING NETWORK DRIVE !

9. Help Mapping network drive !

10. newbie question-Map network drive vb.net

11. Un-mapping a Network Drive...

12. Map network drives with Copy

 

 
Powered by phpBB® Forum Software