QB64 has such a huge built-in function set that I figured something appropriate must exist, so after a quick Wiki check I tried _FILEEXISTS, looking for the current directory on each drive: "A:\.", etc. I've done that before, but not on QB64 where it didn't work.
OK, back to the Wiki and lookee here! _DIREXISTS!
I learned 2 new QB64 keywords today!
Back in my TRS-80 days I built a crude file selector using Model III Basic's equivalent to FILES (CMD"D:<drive>"). Same story as yours. If too many files caused the screen to scroll... oh well. Of course those were the days of single-sided floppy drives, which made scrolling much less likely.
OK, back to the Wiki and lookee here! _DIREXISTS!
I learned 2 new QB64 keywords today!
Back in my TRS-80 days I built a crude file selector using Model III Basic's equivalent to FILES (CMD"D:<drive>"). Same story as yours. If too many files caused the screen to scroll... oh well. Of course those were the days of single-sided floppy drives, which made scrolling much less likely.