473,395 Members | 2,446 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

My Computer Drive Labels

Ok, so there are plenty of posts around that provide code for retrieving volume labels for drives in C# (amongst other languages)

The problem i have (and i can't surely be the only programmer to have such a problem/requirement) is this...

I open my computer, select 'Rename' from context menu, change the name to "MyLabel" and hit enter.
If I use any of the WMI or DriveInfo solutions posted around, the volume label is still that of the drive, not what I have just renamed the drive to.

Ideally I want the names/labels that the users see in My Computer so they can relate to what the drives are rather than a name/label they have never seen before.

Of course, i am using drive letters in the results as well, but wanted to add clarity for the users.


Thanks in advance for any responses.
Mar 16 '12 #1
0 1339

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Ishbel Kargar | last post by:
I've bought a new laptop (running Windows XP home edition) to replace my old one (running Windows 98). I don't have cable connection between the two computers, so I've transferred most of the...
7
by: Jeff Harbin | last post by:
I have an Access 2000 database which saves (exports) of copy of the main data table each time it is opened. It continually over-writes the same file so I've got a back-up if anything were to...
3
by: Daniel | last post by:
Is it possible to retain local file system read, write, delete access while impersonating for access to a remote drive in a different domain? I need to be able to move files from a local computer...
4
by: robert d via AccessMonster.com | last post by:
When my app starts up, it creates a temporary database. This temp database is created from a 'model' database that is in the same folder as the application. Because there is a model, the creation...
2
by: Dawoodi Bohra | last post by:
VPN connected but cannot map folders on my computer. I am trying to connect to our headquarters server using VPN (windows XP). I am able to successfully connect to the server (passes...
13
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
I am actually trying to get the UNC path of the main module of a process running from a mapped drive, and I am trying to do this from a service. The ProcessModule class only provides the full path...
2
by: subsanta | last post by:
My computer has so many problems and ive looked around on the internet and ive managed to fix some of them. I know that i have a few viruses on my computer, but i cant get rid of them, in one case i...
0
by: Winder | last post by:
Computer Data Recovery Help 24/7 Data recovering tools and services is our focus. We will recover your data in a cost effective and efficient manner. We recover all operating systems and media....
1
by: skygremlin | last post by:
I am trying to write a simple VB app to copy all directories and files off a thumb drive to a directory on a pc. I have a couple things I am trying to automate. Final Build will: - Have...
1
by: =?Utf-8?B?c2hpZw==?= | last post by:
I have an old acer aspire 3610 hard drive that has some very important pictures on it, can someone please advise me as to what I need to get the pictures off the hard drive. Im aware that I will...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.