Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does a drive which uses removable media have media in it
Message
From
24/10/2006 16:34:18
 
 
To
24/10/2006 16:18:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01164179
Message ID:
01164184
Views:
8
>Is there a way of determining if a drive that uses removeable media in it have media in it, i.e. a floppy disk in the A drive, a zip cartrige in the E drive, a flash drive as the H drive, etc.
>
>TIA

You can use Drivetype() and diskspace(), for example
?Drivetype('E')#3 and Diskspace('E')>0 && Removable drive E: is attached
Previous
Reply
Map
View

Click here to load this message in the networking platform