12

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.

1
  • 3
    You can do it in Linux with fatlabel from dosfstools, although you receive a warning about it possibly not working properly in DOS/Windows: fatlabel /dev/sdXX MyLabel.
    – Zaz
    Sep 11, 2014 at 15:38

5 Answers 5

13

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.

1
  • 2
    In other words, will I be unable to do anything about this on Windows, and have to resort to using Linux or Mac OS X?
    – BoltClock
    May 5, 2010 at 4:23
5

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.

1
  • Thanks for confirming that FAT32 does indeed support mixed-case labels.
    – BoltClock
    May 4, 2010 at 19:35
1

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).

1

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.

2
  • 1
    Yeah 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.
    – BoltClock
    Mar 12, 2011 at 4:07
  • 2
    Partly 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.
    – SWB
    Jun 10, 2011 at 17:54
0

Use fatlabel on Linux to set a case-sensitive label on a fat32 partition, for example:

sudo fatlabel /dev/sdd1 "MyLabel"

As already pointed out above, fat32 indeed supports case-sensitive labels, even spaces, but Windows nor GParted allow using them. Fatlabel is one of the few tools that does.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.