I had an unsettling experience today, which turned out to be caused by one of Windows 10's "helpful" features: Quick Access.
I have batch files for backing up SONAR projects to an external USB drive which is normally assigned to "F:". It has been consistently assigned to the F: drive through multiple Windows versions. My batch file therefore assumes it's F: and I've used it every day for years without incident.
Then this morning the batch file tells me there is no F: drive.
The drive's power indicator was on, so it hopefully hadn't gone to USB drive heaven like all of its predecessors. I rebooted. Still no F: drive. I unplug the drive and let Windows re-discover it. Still no F: drive. I open File Explorer (which used to be called Windows Explorer) and it shows an icon labeled "F", but it's not my external disk. It also shows that the external drive is now "G:".
Here's what happened. I had created a folder called "F". When I opened it, Windows automatically added it to my Quick Access list (what used to be called Favorites). Now I had a quick-access folder named F, so Windows refused to assign F as a drive letter, presumably to avoid confusion. And broke my batch file in the process of trying to be helpful.
I am scared to find out what would happen if I created a folder named "C".
This is not a friendly feature, IMO, so I disabled it. Here's how: open File Explorer and go to the File tab, then select "change folder and search options". Change the "Open File Explorer to..." option from "Quick Access" to "This PC". Now, when you press Win-E you get the Win 7/8 display that only shows physical devices. Next, go down to "Privacy" and un-check both options to prevent recently-used files and frequently-used folders from being added to Quick Access.
This does not disable the Quick Access feature. You can still
manually add files and folders to the list with a simple right-click and select "pin to quick access". That's the way I want the feature to work: let
me decide what goes on the list.
The friendlier Windows gets, the less-inclined I am to call it a friend.