Drive letters: Microsoft should get rid of them.


Recommended Posts

I use a lot of portable software. Some of them are on my hard drive, some are on removable (flash drives, external HDDs).

Windows is sometimes unpredictable in its assignation of drive letters, so that means I cannot create a shortcut to a particular program that will work reliably when I re-insert the drive.

I have never used a Mac to any great extent, but one of my friends who owns one tells me he has no such problem. This is how things should be on Windows, IMO.

If I name my drives/partitions, Windows should keep a record of the drive/partition and enable it to be used in the same way as when it was previously attached.

I do not know much about the inner workings of Windows, but would this be difficult for Microsoft to implement?

Windows does remember that certain USB devices (that are consistently plugged into the same USB port) are associated with a drive letter. These letters get shifted if, and only if, you add a new device and have your previous one unplugged. You can solve this problem by unplugging the new device and restarting, at which point plugging in your old device (in the same USB port) will give it its previous drive letter.

For instance, I have an external hard drive that is always drive G and is assigned drive G if i unplug and replug later.

  • Like 2

It might indeed just be better to create empty folders and then mount drives to those folders. Create a 16MB or smth partition on a drive always in your PC, mount it to X, create some empty folders and then just mount your external drives to those folders. I think Windows should remember those, but I'm not sure. Then you can just use X:\USB1, X:\Data, X:\...

  • Like 2

The idea to drop letters was one of the things they had in mind for the original longhorn but it got scrapped. Libraries sorta fix this but in the end we still have them and unless there's some deep file system changes we're stuck with them.

I agree that drive letters are a very poor way of organizing mounted partitions, but Microsoft probably can't change it at this point because switching from drive letters to folder mount points wholesale would break assumptions made by many programs - sacrificing legacy compatibility - which they won't do.

When a flash drive is inserted into a computer running OS X, Finder will automatically mount its partitions to /Volumes/Some Partition Name. If there is already a partition mounted at /Volumes/Some Partition Name, Finder will mount the partition to /Volumes/Some Partition Name 1 instead. Nautilus (the default file manager in Ubuntu) does something very similar, except partitions are mounted to /media/Some Partition Name and conflicts are resolved by appending (number) to the end of the mount point. Therefore, so long as the label of the partition on your flash drive is sufficiently unique, you can reasonably expect that it will be mounted in the same place no matter which USB port you plug it into or which Mac you use.

As others have already mentioned, Windows also allows you to mount partitions to folders - which might solve your problem - but I'm not sure if those mount points are persistent. Based on the way that Windows remembers drive letters (which billyea nailed in the first reply), I would guess that it behaves similarly for folder mount points.

They might be able to fake older programs who look for drive letters with some sort of fs trickery etc. I wonder how winrt apps handle locations and if they even care about drive letters?

Absolutely not. Windows *should* be more intelligent about how it allocates drive letters, however.

A bit of standardisation never hurt anyone in that department! :p

As a side note : I've frequently made use of the program "USBDLM". It's a great little addon. (Y)

  • Like 2

If you have a specific thumb drive that has apps you want to create shortcuts to, go into Disk Management and manually change the drive letter to either A or B. These drive letters are normally reserved for legacy disk drives, so no USB drive will automatically take that letter (unless it is an actual floppy drive), even if your A/B thumb drive is not there.

I've tried it out, and it seems to work. I guess Windows can recognize each thumb drive as unique.

It would be nice if they made shortcuts and drive mapping more automatic and easier, though.

Win RT uses the same drive letter format, however, Applications only have access to local locations (thisApp.folder/myfile.txt) or libraries, so Microsoft could remove drive letters completely without sacrificing backwards compatibility at some point in the future.

I did notice in Windows 8 under task manager, it refers to disks by "Disk #" and serial number. Possibly for a transition after Windows 8?

I saw that but didn't think much of it till now. It could be interesting if they switch to a disk # type system in windows 9.

Maybe not. But a couple bits of legacy junk might still rely on drive letters, but I think this is something that will be going away in the next few years. I think Microsoft will implement a more user friendly file management system soon.

I agree. The other thing is, that a Mac allows you to move and rename files even while they are opened without applications losing their reference to the file. I'd like to see the same thing on Windows.

Are you 100% sure about that? Is it not application specific to only those that use a special library becuase that is NOT normal unix-like behaviour.

If they were to phase out the need for drive letters i guess they could add something to windows that you could set up a list of volume labels and then match them with a drive letter/port. So when you attach a drive with a volume label like like Disk 1 which you assigned the letter F to then it would set it to F sort of like an IP address reservation and i guess you could set multiple labels for a single letter if you use one or two flash drives.

If programmers would have stuck to the recommended best practices such as environment variables instead of assuming things won't ever change and thus used hard-coded drive and path information, it wouldn't be a problem.

What are %windir%, %UserPath%?

many applications get married to a drive letter. Even windows itself gets married to a drive letter...Go ahead change the c partition letter after you have installed windows and see what happens. Many legacy applications and current applications get married to a drive letter. besides what is the alternative? using a long alpha numeric drive name that makes absolutely no sense to anyone or anything but the os...yeah lets make things harder than they already are.

You see it isn't just for programmers, it is for the average user too. The average user can understand c or d or f or whatever.

I agree. The other thing is, that a Mac allows you to move and rename files even while they are opened without applications losing their reference to the file. I'd like to see the same thing on Windows.

Vista onwards allows you to rename a file in use. I've done it plenty of times.

Are you 100% sure about that? Is it not application specific to only those that use a special library becuase that is NOT normal unix-like behaviour.

I don't think I've ever noticed an app not behaving like that on OS X. It's certainly expected behavior for (document-based) Cocoa apps, and it registers the change, even if you made it in the Terminal using standard UNIX command line tools..

Vista onwards allows you to rename a file in use. I've done it plenty of times.

Sure, it allows you to do so. But the application (try Notepad as an example) doesn't then go ahead and update the reference to the file. If you've been working on Tst1.txt and rename it to Tst2.txt, Notepad still thinks you're working on Tst1.txt and will save to the original location.

I did notice in Windows 8 under task manager, it refers to disks by "Disk #" and serial number. Possibly for a transition after Windows 8?

I saw that but didn't think much of it till now. It could be interesting if they switch to a disk # type system in windows 9.

I have seen that in XP as well, I think NT internally uses that internally and shows drive letters for compatibility?

This topic is now closed to further replies.
  • Posts

    • Ocenaudio 3.19.5 by Razvan Serea  Ocenaudio is a full featured, fast and easy to use audio and music editor. It is the ideal software for people who need to edit and analyze audio files without complications. Ocenaudio also has powerful features that will please more advanced users. To assist ocenaudio development, a powerful toolset of audio editing, analysis and manipulation called Ocen Framework was created. ocenaudio is also based on Qt framework, a well known library for cross-platform development. Cross-platform support ocenaudio is available for all major operating systems: Microsoft Windows, Mac OS X and Linux. Native applications are generated for each platform from a common source, in order to achieve excelent performance and seamless integration with the operating system. All versions of ocenaudio have a uniform set of features and the same graphical interface, so the skills you learn in one platform can be used in the others. VST plugins support Ocenaudio supports VST (Virtual Studio Technology) plugins, giving its users access to numerous effects. Like the native effects, VST effects can use real-time preview to aide configuration. Real-time preview of effects Applying effects such as EQ, gain and filtering is an important part of audio editing. However, it is very tricky to get the desired result by adjusting the controls configuration alone: you must listen the processed audio. To ease the configuration of audio effects, ocenaudio has a real time preview feature: you hear the processed signal while adjusting the controls. The effect configuration window also includes a miniature view of the selected audio signal. You can navigate on this miniature view in the same way as you do on the main interface, selecting parts that interest you and listening to the effect result in real time. Multiselection for delicate editions To speed up complex audio files editing, ocenaudio includes multi-selection. With this amazing tool, you can simultaneously select different portions of an audio file and listen, edit or even apply an effect to them. For example, if you want to normalize only the excerpts of an interview where the interviewee is talking, just select them and apply the effect. Eficient edition of large files With ocenaudio, there is no limit to the length or the quantity of the audio files you can edit. Using an advanced memory management system, the application keeps your files open without wasting any of your computer's memory. Even in files several hours long, common editing operations such as copy, cut or paste happen almost instantly. Fully featured spectrogram Besides offering an incredible waveform view of your audio files, ocenaudio has a powerful and complete spectrogram view. In this view, you can analyze the spectral content of your audio signal with maximum clarity. Advanced users will be surprised to find that the spectrogram settings are applied in real time. The display is updated immediately when altering features such as the number of frequency bands, window type and size and dynamic range of the display. Ocenaudio 3.19.5 changelog: Fixes crashes related to audio devices on Windows (DirectSound and ASIO) Fixes several crashes and memory corruption issues Fixes opening several headerless files at once, which previously dropped all but one Improves batch export by suggesting and remembering the destination folder Fixes accented and non-Latin characters in VST plug-in and compressed-archive file names Adds zstd compression support and updates the archive library Other bug fixes and improvements Download: Ocenaudio 64-bit | Portable | ~40.0 MB (Freeware) Download: Ocenaudio for Linux and Mac OS View: Ocenaudio Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I did think about a Echo show once and it would be useful to see what my cameras see. But my brother got one and I changed my mind. Adverts and not really worth the price just to see my cameras. I have a load of dots and a Echo Gen 4, they will do.
    • I asking where you are from or live, because if you don't live in the U.K, why are you so bothered? That is another reason I voted out, E.U and people poking their noses in where they should not be. Sadly we still have it, Trump, and his cronies. Putin as well and no doubt others. It makes no difference what we believe, if we made the right choice or not, we are out. As I said to someone when the news first broke we have voted out, we just need to make the best of it. I have no problems with closer ties to the E.U, we still need to trade. Just don't want to be in their club.
    • So you think I voted out because i am anti-immigrant. I am fed up with those that come over and think that we owe them something. The ones that are at the moment coming over from France where they are already in a safe country because they think and no doubt will get everything chucked at them. While people who were born and bred here get very little. I have nothing against as i have said before those that come here and work. In fact I know full well that our NHS would struggle without them. I do have a problem with those that come over here and try to push their religion and their way of life onto us. My reasons for voting out was because of what the E.U is and is also becoming. I did not agree with Freedom of movement, not because I don't want people over here, but because people need to be checked before being allowed to cross borders and that goes both ways. But my main thing was because the E.U is becoming if not already a united states of Europe. The only reason countries like Poland and Romania joined was because they had no money. When my partner left Poland, she had nothing, Poland had nothing, that is why she left. Wanted to learn something and earn a living. The E.U would have us back according to Michel Barnier. https://www.euronews.com/my-eu...ator-barnier-tells-euronews Why are you so scared to say what country you are in?
    • I wonder what that line really meant...
  • Recent Achievements

    • One Month Later
      Excellence2025 earned a badge
      One Month Later
    • Week One Done
      Excellence2025 earned a badge
      Week One Done
    • Week One Done
      flexorcist earned a badge
      Week One Done
    • One Month Later
      Woland13 earned a badge
      One Month Later
    • Week One Done
      Woland13 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      498
    2. 2
      +Edouard
      206
    3. 3
      PsYcHoKiLLa
      145
    4. 4
      Steven P.
      74
    5. 5
      FloatingFatMan
      69
  • Tell a friend

    Love Neowin? Tell a friend!