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