Jump to content

How to: Change Volume Label


Recommended Posts

I searched all around for this. First found a vbscript that did it, then finally came across a MUCH easier solution.

Sure enough theres an actual native Windows utility that does this for you, appropriately called 'label.exe'. The syntax is as follows

label <drive letter> <label name>

IE:

label c: system

Hope someone else can use this as well.

Link to comment
Share on other sites


:w00t: This is old-school DOS executables.. Something that makes me feel happy...

Just wanted to mention that using the %SystemDrive% variable with label makes the drive designation dynamic instead of a static "C:" (for all you non-C installing guys & gals out there).

The %SystemDrive% variable is disclosed in the following post. Furthermore, you can type 'SET' in a command prompt - this returns all currently set variables.

http://www.msfn.org/board/index.php?act=ST&f=70&t=10253

Use this line in a .cmd file of your choice:

LABEL %SystemDrive% System

/FriendlyGhost

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...