Solved

VC++: To label a diskette programmatically (NT)

Posted on 1998-07-20
3
274 Views
Last Modified: 2010-04-01
I need support for reading and writing a label from/to a diskette (similar functionality is available from the Explorer/Properties). How can this be done programmatically ?
0
Comment
Question by:tomanderssen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 50 total points
ID: 1168160
You can use the SetVolumenLabel() windows API.
0
 
LVL 22

Expert Comment

by:nietod
ID: 1168161
Let me know if you have any questions.  

Oh, and that is supposed to be SetVolumeLabel().  No "n".
0
 
LVL 11

Expert Comment

by:alexo
ID: 1168162
Unless it's german :-)
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question