• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1526
  • Last Modified:

Change drive name using command line

I have a mapped drive with the letter Z
and when I go to my computer it looks like   "shared on 'server' (Z:)"
How can I change the name of "shared on 'server' (Z:)" to "something (Z:)"

I know how to change it by going to my computer and right clicking rename, but I need to do this from the command line.

0
Knowledge01
Asked:
Knowledge01
  • 2
1 Solution
 
EarshelCommented:

Label z: DriveNameHere

Open in new window

0
 
deroodeCommented:
Not exactly what you are looking for, but maybe this may give you a hint:

http://www.novell.com/coolsolutions/tools/14474.html

and also:
http://www.novell.com/coolsolutions/trench/7415.html

We tried to do what you are trying to do, (with .reg files) but after half an hour or so the names would revert back to the original name...
0
 
deroodeCommented:
I tried the label command, but it says "Cannot change label on this volume.  The request is not supported." (probably because it is a network drive.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now