Setting a mixed-case volume label for a FAT32 drive on Windows
Solution 1
From the Windows XP Documentation:
For FAT volumes, volume labels are stored as uppercase regardless of whether they contain lowercase letters. NTFS volume labels retain and display the case used when the label was created.
Solution 2
Windows will not label a FAT32 disk in mixed case, even though the spec supports it. Other utilities may be able to set it, but I don't know of any off the top of my head.
Also, it's possible to create a file in the root of the file system, then set the "ATTR_VOLUME_ID" attribute (not available through explorer) and that file's name will show as the label of the file system. But again, I don't know any utilities that would make this easy.
Solution 3
FAT is not case sensitive, and doesn't preserve file case (except in long filenames). This applies to the label too.
POSSIBLY DANGEROUS FOR NEWBIES: You could try a hex editor, but I'm not sure if the case changes will stay for long. (Don't forget to reconnect the drive after editing).
Solution 4
create an autorun.inf file on the device and enter the following code
label=[whatever you like here exactly how you want it]
dismount and remount and voila! there ya go!
No need for hex editors and all that BS.
Related videos on Youtube
Denys Cherepanin
About me I'm a teen software developer who relishes hacking PHP on the Web, C# on his PC and Objective-C on his Mac. I adore math, Jesus, Apple and π, but not apple pie! I'm familiar with GNU/Linux basics and have used Ubuntu for a good while. I'm learning Mac OS X as I build iOS apps with the iPhone SDK. However, I'm currently full-time on Windows. I've had about a decade of computer experience, and am more into software than hardware. I encountered my first BSOD at 4 years of age on Windows 95. Those were the days. Check out my site. Read my tech blog. Follow me on Twitter (if you dare).
Updated on September 17, 2022Comments
-
Denys Cherepanin almost 2 years
When I try to set the volume label for my FAT32 USB drive the normal way (using Windows Explorer or Disk Management), the filesystem just makes the label uppercase when applying it.
Is it possible at all to set a mixed-case volume label on the drive on Windows? I know there may be no real reason for me to do that, but I'd really like to know.
-
Zaz almost 10 yearsYou can do it in Linux with
fatlabel
fromdosfstools
, although you receive a warning about it possibly not working properly in DOS/Windows:fatlabel /dev/sdXX MyLabel
.
-
-
Denys Cherepanin about 14 yearsThanks for confirming that FAT32 does indeed support mixed-case labels.
-
Denys Cherepanin about 14 yearsIn other words, will I be unable to do anything about this on Windows, and have to resort to using Linux or Mac OS X?
-
Denys Cherepanin over 13 yearsYeah I tried that a few years ago and that didn't work. I don't need to try it again to know it won't.
-
SWB about 13 yearsPartly true … You need to put the
label=
line under an[AutoRun]
section header. At that point, "My Fancy Label" will show up in some parts of the Windows UI (Windows 7), but not all. For example, it will show up in the AutoPlay dialog that appears when you insert the USB drive, and it will appear in the "Safely Remove Hardware" menu. It will not, however, appear in Explorer. Explorer continues to show the regular volume label.