Get a list of the available drives on your machine, and some info on what type they are.
Title: Re: Windows drives
Post by: SpriggsySpriggs on February 13, 2021, 10:16:23 am
Oh yeah I did this same thing with a post a while back when that one guy asked about seeing how much space is left on a drive
Title: Re: Windows drives
Post by: bplus on February 13, 2021, 10:32:41 am
Oh that looks like it would be handy, I'll be watching for feedback from testers.
Looks good on my system. Didn't even know I had a D: drive or name of my CD drive. Tried SD card and detected as G and removable.
D: drive is that mine or Windows?
Title: Re: Windows drives
Post by: Dav on February 13, 2021, 10:48:36 am
It works for me. Nice to see _READBIT used too - another keyword I need to get to know.
Someone put my version (http://www.qb64.org/wiki/Windows_Libraries#Disk_Drives) up in the wiki a few years ago, but yours is more complete and should replace it.
- Dav
Title: Re: Windows drives
Post by: SpriggsySpriggs on February 13, 2021, 10:51:35 am
Yeah, this is what I did a few months back for Richard.
I guess I didn't get the drive letter on this one but I made it so you could input the drive letter and get the info for it
Title: Re: Windows drives
Post by: bplus on February 13, 2021, 11:04:36 am
What is "No Root Dir", something linked to Internet or cloud?
Title: Re: Windows drives
Post by: SpriggsySpriggs on February 13, 2021, 11:33:46 am
Not sure. I'd have to read the MSDN again
Title: Re: Windows drives
Post by: euklides on February 14, 2021, 11:24:17 am
Well, well, well. Not really true... So an usb hard drive (an also an usb3 ssd external drive) is detected as ""Fixed media"... The very good answer is "Removal hard disk".
I have the solution of this in Visual Basic Excel, but not in QB64 !!!