Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many drives?
Message
From
23/02/2017 06:44:41
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
23/02/2017 02:19:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01648372
Message ID:
01648414
Views:
44
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform