On Thu, 29 Dec 2005 18:01:01 +0100, Dick Worland <rw******@wabash.net>
wrote:
When I try to reference it in my web page like so;
<P><A HREF="C:\Documents and Settings\Owner\My Documents\Web Pages\Lemon
Pie Filling">Lemon pie filling</A></P>
it opens to "The page cannot be displayed". If I remove the \Lemon Pie
Filling it opens to Web Pages. What do I need to do to have it open the
Microsoft Word Document?
You mention it is a Word document. I assume you have set your explorer
_not_ to display the extentions of known file types. For Word the
extention is .doc. If you add .doc to the whole of the address it might
work fine.
Some notes though:
- As long as you are experimenting locally, it is fine to link to files of
very specific type, like from Office programs. As soon as you go publish
on the world wide web (www) you have to remember that many people out
there may not have the same applications you have, and thus they will not
be able to open the specific documents. Especially if you leave them sit
on your hard drive ;-)
- It is a good habit to fill in the spaces in document names with 20%.
Your file name would then be Lemon%20Pie%Filling.doc.
- A path name on the www translates in to a URL. In a URL the slashes are
fo)rward. Furthermore you include the protocol you use. The URL would
therefore be:
file://localhost/C:/Documents20%and20%Settings/Owner/My20%Documents/Web%20Pages/Lemon%20Pie%Filling.doc
- To avoid problems with certain web servers who distinct capitals from
undercast, it is best to keep all names and 'paths' in undercasts (so you
don't have to remember which files had a capital where, and which didn't).
So, finally, your URL would be (when published):
http://www.yourwebsite.com.imvalid/p...ie%Filling.doc
And I do hope you publish because I can't resist lemon pie :-)
--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog |
http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp |
http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen |
http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'