>>>>You can use the Shell.Application for this, but you'll have to parse the path. For example
#DEFINE COOKIES 0x21
>>>>oShell = CREATEOBJECT("Shell.Application")
>>>>oFolder = oShell.Namespace(COOKIES)
>>>>? oFolder.Title
>>>>oParent = oFolder.ParentFolder
>>>>? oParent.Title
>>>>oParent = oParent.ParentFolder
>>>>? oParent.Title
>>>
>>>That is, you can rely on this only if your default browser is internet explorer.
>>>
>>>Other browsers keep their cookies in a different location, and in a different format. They are free to do so, because they are not under obligation to be integrated into the OS.
>>
>>Dragan,
>>
>>I'm not so sure about this. I did a good deal of thinking about this post and the conclusion I came to was that
if a proper install was done, then the above code should work.
>>
>>I'm not saying that you're wrong. Indeed, you may be quite right in some instances. There are so many things dealing with the registry in play, like the default browser, that it's hard to tell without doing some serious checking. I'm not inclined to do it, however.
>
>Well, I just checked my box - where I do have IE installed, but Mozilla is my default browser. And oShell.Namespcace(COOKIES) is pointing to the exact location where IE keeps its cookies, not where default browser does. Actually, there is so much software around which can nowadays launch
a browser when you click a link in its About box or somewhere in the help - and it's become some sort of a roulette (presumably not Russian) to guess which browser will it launch.
< bg >Yeah, and since IE is often pre-loaded...:-)
George
Ubi caritas et amor, deus ibi est