Renaming of mapped network drive lost after end of script
Hi All,
I got a problem with some of my workstations to rename mapped network
drives.
I do rename the network drives using vbscript:
objShell.NameSpace(sDrive & "\").Self.Name = sCustomName
My Problem is that the new name is only available when the script is
running.
I put a simple MsgBox at the end of the script. Then I can see the new
name in the
windows explorer until I press OK on the MsgBox.
Can anyone me regarding this problem?
Thanks a lot!
Regards
Thomas
|