Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get number of drives on machine & their types in
Message
 
À
09/07/2004 13:13:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00922574
Message ID:
00922589
Vues:
18
>>how to get number of drives on machine & their types in VFP6
>>Rajesh
>
>One way is brute force. This comes from some actual code, where I'm accumulating a list of hard drives. You'll need to adjust it to your situation.
>
>
>FOR nDrive = ASC("C") TO ASC("Z")
>	cDriveLetter = CHR(nDrive)
>	IF INLIST(DRIVETYPE(cDriveLetter), 2, 3, 4)
>		This.AddDriveToList(cDriveLetter)
>	ENDIF
>ENDFOR
>
>
>
Tamar,

I think I may know where this comes from.< g,d&r >
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform