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.

BoltClock
  • 783
  • 1
  • 6
  • 24
  • 4
    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 '14 at 15:38

5 Answers5

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.

th3dude
  • 9,441
  • 6
  • 47
  • 67
  • 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 05 '10 at 04: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.

Chris S
  • 6,084
  • 21
  • 21
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).

u1686_grawity
  • 426,297
  • 64
  • 894
  • 966
1

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.

user23288
  • 111
  • 1
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.

Hades
  • 11
  • 1
  • 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 '11 at 04: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 '11 at 17:54