Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check if a drive is a CD-ROM?
Message
 
To
10/03/2000 11:10:55
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00344236
Message ID:
00344245
Views:
21
>I'd like to use GETFILE() to ask a user to find a specific file. Then I'd like to determine if that specified file is on a CD-ROM.
>
>Is there an API function that will return the drive type of a passed drive letter? If so, could someone please provide a code sample?
>
>TIA.

Hi Al,

Did you try several drive info classes in Files section? They probably could give you what you want.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform