48

As we know, in Windows the partition location is prefixed with [a-z]:. What happens if there are more than 26 partitions?

0

3 Answers 3

51

The drive letters you see are simply representations of the physical partitions available and can be represented by other means. You could only have up to 26 drive letters, but you are definitely able to have (and actually use) many more partitions.

In that case, you could link the drive to a directory on your system rather than a drive letter as, since Windows XP at least (and potentially earlier), it has been possible to mount a drive or partition under a directory in Windows. This would mean you could effectively have a folder containing all your drives that are not accessible by drive letter.

You would do this within the Disk Management administrative console.

To get to the console, go to (or right-click on "My Computer" -> "Manage" -> "Disk Management"):

Start > Run and type
diskmgmt.msc

If you right click a partition you would see a Change Drive Letter or Path option which where you can add or remove paths or drive letters for drives.

Mount in drive

As a side not you will want to make sure that the folder that you are using is empty, when you mount a partition to that folder then you will only see the files and folders from that partition and any original files will be invisible. I suspect if you unmount the drive from that folder you will be able to see the original files again, but I don't know for certain.

Weird, I assumed that there would be some kind of limit on how many logical partitions you can have in an extended partition, but I can't actually find anything about it. I know you can only have four primary partitions.

This is an example drive that I have removed the drive letter from and instead assigned to a folder, the files on that drive are now accessible at C:\Temp\Test and the drive no longer has a letter assigned to it:

Enter image description here

18
  • 6
    Logical partitions are implemented as a linked list, so there is no theoretical limit to the number you can have. Commented Jun 7, 2011 at 8:25
  • 1
    You can't have more than 26 letters, period. Commented Jun 7, 2011 at 8:28
  • 7
    @Winuser, the 27th partition would not be able to have a drive letter and so you would have to assign it to a folder as I mentioned in my answer. The Disk Management console allows you to see unassigned partitions and then assign them to a folder as necessary. Have a look at i.technet.microsoft.com/dynimg/IC235918.png for an example of what you would see.
    – Mokubai
    Commented Jun 7, 2011 at 8:35
  • 2
    For what it's worth: If we are talking theoretical limits then there most definitely is such a limit. Each secondary partition takes a minimum of one sector for the partition itself (in these modern times where we don't do pointless cylinder alignment any more) and one (possibly two for some LVM schemes) sector(s) for the partition metadata. Since the container primary partition is limited to 2**32 sectors, at least one theoretical limit on the number of contained secondary partitions is fairly easy to deduce. (-:
    – JdeBP
    Commented Jun 7, 2011 at 9:09
  • 1
    You forgot to specify that mounting volumes as folders only works if the lettered drive is NTFS.
    – Synetech
    Commented Sep 15, 2012 at 13:53
14

Under DOS 3.3 at least you could get drives like [:\ i.e .the ASCII characters after Z.

This was using Novell and setting LASTDRIVE to some high letter.

So there might be a way of getting the 27th partition to have a character name.

3
  • 12
    Still can be done in WinNT using subst (which calls DefineDosDevice()), but most GUI programs won't recognize [:\Users and the like :( Commented Jun 7, 2011 at 10:32
  • I suspect that most programs, period, won't recognize paths such as [:\Users, since the assumption is that drives are marked with a letter. There is, of course, the new style path format that's used for network drives (for example \\ServerName\Path) that came into existence at about the same time as Windows 95 or thereabouts. Not sure if you could map an unlettered drive to such a path for use locally, though.
    – RobH
    Commented May 29, 2014 at 16:51
  • 2
    @grawity: It seems to even let you specify a space as a drive letter. Interesting.
    – LawrenceC
    Commented May 29, 2014 at 17:18
3

Little-known undocumented feature: you can use any drive "letter" you want with the mountvol command. First, use mountvol undecorated to get a list of present volumes with their \\?\Volume{GUID}\ paths. Then, you can do something like this:

mountvol -: \\?\Volume{7d0832b2-3d3a-4fe0-9473-9f7aaabc5a98}\
-:

That - isn't a placeholder - it actually works as a drive identifier, and you can change your current drive in the command prompt to it, cd around, and do everything you'd expect to be able to do. As far as I can tell, every symbol except the space works.

Explorer won't let you browse in non-lettered drives, but you can open some programs on documents in them. notepad filename.ext works on the prompt from inside that drive, for instance. (But notepad -:\filename.ext doesn't work from the Run dialog.)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .