Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many drives?
Message
De
23/02/2017 06:44:41
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
23/02/2017 02:19:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01648372
Message ID:
01648414
Vues:
45
>>I want to know what are the drives in my computer. Perhaps there's a vfp function that would tell me that but I don't remember.
>
>You have the DRIVETYPE() function:
>
>? DRIVETYPE("C")
>3

Looks kind of useless - returns 1 for nonexistent drives. Which is supposed to mean "no type" - but then, well, at least it doesn't error out and the difference between an absent disk and unknown type disk is irrelevant: you can't get anything from such a disk anyway.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform