Getting the label of a hard drive partition from command line (without anythin else) ?

  • Thread starter Thread starter Wolfgang Hercker
  • Start date Start date
W

Wolfgang Hercker

I want read out the label of a hard disc partition from command line.
Unfortunately the command "label" forces the user to enter a new one.
So asking is NOT independent from changing it.

is there another way to retrieve the label name without having to answer something
or to have text aroung it like "Label of the specified drive D: is WinBACKP"

Wolfgang
 
Try using the fsutil command. In this case:

fsutil fsinfo volumeinfo c:\

You must supply the pathname of the drive, not the drive letter.
Try also typing fsutil and check out all the other options. Each sub-menu
has a menu of options.
 
Try going to a command prompt (Start, All Programs, Accessories, Command
Prompt)
type "label" without the quotes of course.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top