Opening a local URl (Windows)
Hervé Chaudet
herve.chaudet at medecine.univ-mrs.fr
Fri Jan 17 06:36:00 EST 2003
Le vendredi, 17 jan 2003, à 12:18 Europe/Paris, thierry Douez a écrit :
>
> | De : metacard-admin at lists.runrev.com
> | [mailto:metacard-admin at lists.runrev.com]De la part de Hervé Chaudet
> | Envoyé : Friday, January 17, 2003 11:20 AM
> | À : metacard at lists.runrev.com
> | Objet : Re: Opening a local URl (Windows)
> |
> | xbury.cs at clearstream.com a écrit :
> |
> | > Herve,
> | > I use the same function and it works like a charm...
> | > Is your url correct?
> |
> | The syntax of the url is the same as shown in the url field of
> | explorer
> | when I open the file directly in it. Ex: C:\xxx\yyy.html
> | I've tried with "file:" before the full filename, without more
> success.
>
> Well, i would try a bet: url "file:c:/xxx/yyyy.html"
>
> is this getting better,
> bonne chance, thierry Douez
>
I've finally found the solution: the argument passed to launchBrowser
must be quoted.
I suspect the reason is the presence of spaces in a pathname (as in
"Program Files"), that are normally replaced by %20 in http (encoded)
URLs.
Thanks for your propositions that helps me in confirming my previous
attempts.
Hervé
------------------------------------------------------------------------
-----
Herve Chaudet e-mail :
lhcp at acm.org
mobile : 33-(0)-608-05-98-09
Unité UPRES EA 2672
Faculte de Medecine - 27, Bd Jean Moulin - 13385 Marseille cedex 5 -
France
Tel 33-(0)-491-79-19-10 ; Fax 33-(0)-491-79-40-13
Service de l'Information Medicale
Hopital Nord - Chemin des Bourrelly - 13326 Marseille cedex 15 -
France
Tel 33-(0)-491-96-80-20
------------------------------------------------------------------------
-----
More information about the metacard
mailing list