Just posted a VFP KB id :)
Cetin
>Thanks Cetin,
>
>As always a quick reply and simple solution :)
>
>I would still prefer a VFP way, but this will work just fine
>
>Bob
>
>>>Hello All,
>>>
>>>I would like to be able to access the user directories in XP
>>>
>>>EX:
>>>
>>>C:\documents and settings\rpierce\
>>>
>>>and directories below it. I assume there is a way to reference these directories for the current user.
>>>
>>>Thanks in advance
>>>
>>>Bob
>>
>>If scripting is allowed :
>>
>>oWshShell = CreateObject("WScript.Shell")
>>? oWshShell.SpecialFolders("MyDocuments")
>>
>>Cetin