Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DynaZip MultiVolume Question
Message
De
27/04/1999 16:02:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00209114
Message ID:
00212711
Vues:
19
>>I have a form that the user inputs a zip file name and presses a continue button. The program then runs a DynaZip routine. If the user selects a drive that is "removable media" I want to include the multivol parameters. Right now I just check for an 'a' or 'b' in the drive designator. This is fine except for those cases where a user might have say a zip drive at 'd'. Is there a way in Foxpro to tell if the target drive is "removable"?
>>
>>TIA
>
>Hi Robert,
>
>In VFP 6.0 there's the DriveType() function. In pervious versions, this function was available in Foxtools. You call the function with:
>lnresult = DriveType('C:') && or other drive letter
>In either case, if the return value is 2 it's a floppy; 4 if it's a removable or network drive.
>
>hth,

Thank you very much.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform