Opening a local URl (Windows)

xbury.cs at clearstream.com xbury.cs at clearstream.com
Fri Jan 17 06:54:01 EST 2003


AHA!

you are browsing files, not the net...
in that case you can use:
get shell("explorer c:\blabla")

or better  (without blocking MC until the explorer is closed)

open process "cmd /c explorer" && quote& "c:\blabla"& quote



> -----Original Message-----
> From: Hervé Chaudet [mailto:herve.chaudet at medecine.univ-mrs.fr]
> Sent: 17 January 2003 12:31
> To: metacard at lists.runrev.com
> Subject: Re: Opening a local URl (Windows)
> 
> 
> 
> 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
> --------------------------------------------------------------
> ---------- 
> -----
> 
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
> 


Visit us at http://www.clearstream.com
                                                          
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries.

END OF DISCLAIMER



More information about the metacard mailing list