Thank you,
Jerry
>>Using VFP9, how can I make the GetDir() default to the user's desktop?
>>
>>I currently use GetDir("c:\SomeDir"), but instead I would like to do something like this, GetDir("user's desktop"). Can this be done?
>>
>>Thanks,
>>
>>Jerry
>
>
>oShell = CREATEOBJ('Shell.Application')
>oFolder = oShell.NameSpace(0)
>
>? GetDir(oFolder.Self.Path)
>