Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DynaZip MultiVolume Question
Message
From
27/04/1999 16:02:55
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00209114
Message ID:
00212711
Views:
20
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform