Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / get available drives?

Author
Message
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 29th Jul 2008 19:39
drivelist only prints the available drives, but it does find the correct ones. perform checklist for drives apparently only returns folders that start with a period. So is there any way to get a real list of drives?




Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 30th Jul 2008 05:00
Dll



Enjoy your day.
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 30th Jul 2008 23:04
You can also do a for next loop from 1 to 26 and check if the path exists of the letter (i think it is chr$(i+95)). That worked for me, the only problem is that on xp and earlier os's it seems to have problems with A: so you will have to hardcode that one in.

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?

Login to post a reply

Server time is: 2025-06-07 06:53:24
Your offset time is: 2025-06-07 06:53:24