Solved

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

Posted on 1998-07-20
3
254 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

937 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now