Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detect USB Drive
Message
From
21/02/2008 05:20:22
 
 
To
21/02/2008 05:01:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01294633
Message ID:
01294644
Views:
22
>>Hi All,
>>
>>Is there a way to know if my app is running from a USB or other removable drive?
>>
>>Thanks
>
>OK, I found DRIVETYPE() - that will do :)
>
>But is there a way to specifically test for USB?

AFAIK, no. You must check for Drivetype()=2. Since most removable drives will be 4, then you get what you want.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform