Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting CD drive letter....
Message
 
 
À
29/09/2002 21:17:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00705747
Message ID:
00705748
Vues:
11
You can use DRYVETYPE() function.
lcCD = ""
FOR i=0 TO 25
  IF DRIVETYPE( CHR(ASC("A")+i) ) = 5
    lcCD = lcCD + CHR(ASC("A")+i)
  ENDIF
ENDFOR
? lcCD
>Can anyone tell me how to return the system CD drive letter?
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform