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.

Code Snippets / Get list of drives AND what type they are [DBP]

Author
Message
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 2nd May 2006 13:25
In DBPro you can use built in functionality to retrieve a list of drives on your system;



but it won't tell you what sort of drive each one is, be it a hard drive, CD drive, etc.

This code will tell you that info, so you can easily write functions to get a list of CD drives for instance;



Boo!
MartinS
18
Years of Service
User Offline
Joined: 15th Dec 2005
Location: Rochester, NY
Posted: 2nd May 2006 15:35
Nice! Could be useful if you were to distribute games on a CD.

Login to post a reply

Server time is: 2024-11-23 07:25:58
Your offset time is: 2024-11-23 07:25:58