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

Possibly Related Threads…
Thread Author Replies Views Last Post
  What the heck, it's Friday let's drive some people nuts. doppler 4 1,030 10-21-2024, 11:31 AM
Last Post: SpriggsySpriggs
  _File$ is not behaving as expected, cannot determine why hanness 6 1,681 10-14-2024, 01:56 AM
Last Post: a740g
Sad Is there a way to determine screen resolution ? doppler 2 735 08-03-2023, 02:30 PM
Last Post: doppler
  Is it possible to determine the screen scaling factor within QB64? hanness 3 851 05-09-2022, 01:37 AM
Last Post: hanness

Forum Jump:


Users browsing this thread: 1 Guest(s)