QB64 Phoenix Edition
Simple Drive Display - Printable Version

+- QB64 Phoenix Edition (https://staging.qb64phoenix.com)
+-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://staging.qb64phoenix.com/forumdisplay.php?fid=3)
+---- Forum: Utilities (https://staging.qb64phoenix.com/forumdisplay.php?fid=8)
+---- Thread: Simple Drive Display (/showthread.php?tid=1256)

Pages: 1 2 3


RE: Simple Drive Display - SpriggsySpriggs - 12-13-2022

I think Fellippe showed you can use DIREXISTS in a loop to check all valid letter drives.


RE: Simple Drive Display - Pete - 12-13-2022

(12-13-2022, 03:00 PM)Spriggsy Wrote: I think Fellippe showed you can use DIREXISTS in a loop to check all valid letter drives.

Didn't look Fells routine up, but it sounds like...

Code: (Select All)
FOR i = 1 TO 26
    IF _DIREXISTS(CHR$(i + 64) + ":") THEN
        PRINT CHR$(i + 64); " Exists."
    END IF
NEXT

Which is fine but won't detect the optical drive or it's status. Did Fell add anything else to what I coded, above, for that?

Pete


RE: Simple Drive Display - SpriggsySpriggs - 12-13-2022

I honestly don't remember. I just remember I didn't prefer his routine since I was all about WinAPI anyways


RE: Simple Drive Display - Pete - 12-13-2022

I think there's a flight leaving from Indiana to Brazil today. Be a good soul, fly down there, and ask. I'm too lazy too search .rip.


I miss Fell. Hope he returns one day.

Pete


RE: Simple Drive Display - SpriggsySpriggs - 12-13-2022

(12-13-2022, 04:33 PM)Pete Wrote: I miss Fell. Hope he returns one day.

He's on the "QB64 Official" Discord. I don't know if he's active, though. I do know that he has talked to a few people in there.


RE: Simple Drive Display - Pete - 12-13-2022

Steve got on my case big time for visiting QB64 "Official"

Oh, he didn't mind me visiting the site...

I just forgot to wipe my feet before I returned, and got cricket juice all over his new Phoenix Forum carpet.

Pete


RE: Simple Drive Display - vince - 12-13-2022

damn, poor crickets (I mean the ones left behind)


RE: Simple Drive Display - Pete - 12-13-2022

Big Grin Big Grin Big Grin
Big Grin Big Grin Big Grin