>>Hi,
>> With XP it is usually login sensitive i.e. c:\login_name\my documents.
>>
>>
>>>Thanks to all who replied to my message. Problem was in DOC path. I established relative path depends on instalation folder of my program. Idea was that user install program in any folder no matter where. I don't like hard code of path such c:\xx.doc or c:\my documents\xx.doc but looks like it is only solution. I wonder why everything with relative paths works under win98 and not under XP?
>
>My Documents is a special folder. You can get the name of it with WSH
this is what I do:
o=CREATEOBJECT('wscript.shell')
o1=o.SpecialFolders()
WAIT WINDOW o1.Item('MyDocuments')
Peter Cortiel