Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting CD drive letter....
Message
 
 
To
29/09/2002 21:17:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00705747
Message ID:
00705748
Views:
10
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform