Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

find the volume name of a cd-rom

Posted on 2002-04-17
2
Medium Priority
?
173 Views
Last Modified: 2013-11-20
I'd like to get the volume name of a cd-rom. How can I realize that? Thank you...

Martin Bader
0
Comment
Question by:martinbader
[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 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 400 total points
ID: 6948297
Use 'GetVolumeInformation()' (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fsys_6wfi.asp), e.g.

char acVolName [ 255];
GetVolumeInformation ( <path to your CD-Drive>, acVolName, sizeof ( acVolName), NULL, NULL, NULL, NULL, 0);
0
 

Author Comment

by:martinbader
ID: 6949841
Thanks a lot for your immediate help.

So long, Martin Bader
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

610 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