Link to home
Start Free TrialLog in
Avatar of Wardy
Wardy

asked on

Hyperlink with spaces problem

I am putting hotspots(hyperlinks) to files on the network in the lotus notes i send around.  This does not work on all computers. The link launches IE and some of the PC's get the "page cannot be displayed" message.  The path has spaces in it and the address bar subsitues %20 for the spaces in the path.  Is there a way or setting to get IE to stop putting the %20 in the path.  I think this is the problem.
We are running Lotus notes 4.6.6 and IE 5.5

Any help would be great
Wardy
Avatar of Ajnin
Ajnin

The %20 is how browsers interpret a space in a address. Are you sure the pcs in question can see the path the link is pointing to. To test try to browse to the path your pointing to with Windows Explorer.
Also if the link you give looks like X:\filepath\htmlfile.htm some IE versions don't know how to interpret this. Instead try file:///X:\filepath\htmfile.htm

Regards
ASKER CERTIFIED SOLUTION
Avatar of bruno
bruno
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
As I recall IE and Netscape don't interpret %20 or (+) as spaces when accessing files. So as bruno suggests never use spaces in files names.

(Bill Gates please note that allowing spaces in file names was the most cretinious thing you ever did.)

Steve
Avatar of Wardy

ASKER

you are exactly right.  The spaces in the path cause problems(not only for this app) and have to go.
Thanks
Avatar of Wardy

ASKER

Thanks for the answer.  I have tried that with mixed success.
>>I have tried that with mixed success.


only mixed success?
On our intranet we have no problems with spaces.

But whatever works works.
Ajnin on an Intranet you are accessing files via HTTP and the browsers generally handle the spaces. However wardy is accesing them as files (so far as I can tell) and the browsers do not behave in the same way.

Regardless of that a space within a URL is an illegal character and unless encoded using either %20 or + you can not be certain that all browsers, including future versions, will work.

Steve
Avatar of Asta Cu
It looks like you've been helped here, Wardy. Good news.
":0) Asta
Please repond to the experts here who have helped you.
Thanks,
Asta
Wardy,

I am curious why you feel this was only worth a B?

If you do not respond here I will ask a mod to review the question to see if they also feel the answer was only worth a B.



BRUNO
Wardy, you still have not responded here.   I will give you one more chance before asking a mod for review.


BRUNO
Thanks, Asta, for pointing this out.  No comments as to why less than an A grade was given, despite requests for information.  Additionally, Asker said:
From: Wardy  Date: 06/10/2002 09:52AM PST  
you are exactly right.  The spaces in the path cause problems(not only for this app) and have to go.
Thanks  
----------------------
Grade corrected.

Please see this link for grading guidance, and please take a moment in the future to add comments any time you choose a grade less than an A so we can all understand our shortfalls (if there are any).  This not only helps the participants in the question thread, but also those in the future who may access this question from our PAQ.

https://www.experts-exchange.com/questions/20310437/Proper-Grading.html

Thanks,
Moondancer - EE Moderator