Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting full path of a folder (directory)
Message
 
À
09/06/2003 14:31:47
Fabian Belo
Independent Developer
Argentine
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00795602
Message ID:
00798081
Vues:
23
>>>
>>>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...:-)
>
>
>Another way was found:
>
>
>o = CREATEOBJECT("WScript.shell")
>?o.RegRead('HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cookies')
>
>
Fabian,

Does this return the right folder if, say, Netscape is the default browser?
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform