Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect USB Drive
Message
De
21/02/2008 05:20:22
 
 
À
21/02/2008 05:01:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01294633
Message ID:
01294644
Vues:
21
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform