Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Looking for a reliable way to determine if a drive letter is in use
#23
(05-09-2023, 10:16 PM)Kernelpanic Wrote: @hanness - A drive has first no partition but only a letter (Windows). There can be different partitions on this drive - can be.

So somehow I don't know what your problem is. . .  Huh

Yeah, in Windows a drive will have a letter if a volume is present, even if it's not partitioned and/or formatted. If you try to double-click on a drive letter that has no partition or has not been formatted Windows will pop up a screen telling you this and offer to format the drive for you.

I suppose it was the simplest solution for Microsoft to come up with for the wildly non-technical crowd that makes up most of the Windows user base. And hence, this is one of the reasons most Windows are so inept and clueless when it comes to drive and partition management. Microsoft has dumbed down the process to the point of stupidity. But, that's exactly what they want, clueless Windows users, has been all along. Sorry, got on a bit of a rant there. It's this and MANY more reasons why I tell people that Microsoft has set computing back 30+ years. Don't even get me started on not including a programming language with the OS. Another way to dumb down users.
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


Messages In This Thread
RE: Looking for a reliable way to determine if a drive letter is in use - by TerryRitchie - 05-09-2023, 11:59 PM



Users browsing this thread: 1 Guest(s)