On maandag 12 januari 2009, Tao Cumplido wrote:
> "file:///c:/file.txt". (Actually, even that isn't strictly valid; the
>
> >"c:" ought to be "c|". But everyone uses and supports "c:".)
>
> Ok that kind of works.
> But how am I supposed to know that the directory has to be written like
> this? There's no mention about this in the Hyperlink-chapter of the manual.
An URL is composed of
- a protocol part ended with ':' ftp:' 'http:' or 'file:'
- an address of the server starting with '//' and ending in '/'
  if the server is the localmachine, one can put 'localhost' or sometimes also 
just nothing. In this case you have for a file on your machine 
already 'file:///' !
- then follows the location on the server, which is a bit OS dependent ...

Hope this helps!

Sincerely,
Hubert



-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium           

Reply via email to