Rick said:
I notice that when I insert a Hyperlink into an email, and that link is
a file, if the filename contains a '#' then the link won't load
correctly when the recipient clicks on it. Outlook seems to treat a
pound sign inside a filename to indicate the end of the filename. So if
I insert a hyperlink to--
C:\THIS IS DOC #247.DOC
then when my recipient clicks on the link it can't find the file because
Outlook will be looking for a file named "THIS IS DOC". Thanks for any
thoughts on this.
First of all, a hyperlink to a hard drive path is unusable by the
recipient of your e-mail because obviously they don't have your hard
drive. Even if they mapped to it over the network and you had file
sharing enabled, they already have the C: drive designator assigned to
their own hard drive. You will need to enable file sharing on your host
and then provide a UNC to that file, like //host/<path>. Or put the
file on a web or ftp server and provide the http://<path> or
ftp://<path> link to it there.
Second, the pound sign has special significance in a URL (if that is
what you are actually providing to the e-mail recipient). "?" is used
to start a list of parameters that are included in the URL and can be
used by scripts on the server to extract those parameters. "#" is used
to identify "anchors" on a web page. These are like bookmarks that
allow pointing to a specific point in a web page. Ever go to a web page
that lists a bunch of articles and when you click on them will take you
to that topic which you could have also found by scrolling down the
page? It used an anchor to point at that spot in the page, like having
Post-It tabs sticking out from pages in a closed book. See
http://www.case.edu/help/introHTML/TCh6.html. As an example, go to
http://www.popupcop.com/help/faq.html. Hover the mouse over the links
and notice in the status bar that some of them have "#n" in their URL.
That takes you to that web page AND to that anchor point on that web
page.
If you want to include special characters in a URL, use the entity code
for them. Use "%xx" where xx is the hexidecimal value (from the ASCII
character chart) for that character. Space character is %20. Pound
character is %23. The percent character is the escape character in a
URL to indicate the numeric value is the hex value for the ASCII
character.