Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using GETDIR() and Non-drives
Message
From
12/02/2002 15:42:08
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00619033
Message ID:
00619098
Views:
32
The question is perfectly legitimate. If the user selects "My Computer", I want "My Computer", not whatever the default drive happens to be. It may be that what I want is not possible, but that does not make my question illegitimate.

Michelle


>Sorry, but you're actual question is not legitimate, at least not on my tests. If I do
? GETDIR("c:\","test","test")
>and click on My Computer, it returns "C:\", which is the default drive for My Computer.
>If I click on My Documents, the return value is "C:\DOCUMENTS AND SETTINGS\JOHN.HERRING\MY DOCUMENTS\".
>If I click on Desktop, the return value is "C:\DOCUMENTS AND SETTINGS\JOHN.HERRING\DESKTOP\". That is what is happening here. Using VFP7 on Win2k.
>jfh
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform