question about display the file link

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 27
Joined: Tue Oct 02, 2007 2:27 am

question about display the file link

Post by tireless »

Image
Last edited by tireless on Wed Oct 29, 2008 4:07 am, edited 1 time in total.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

You can remove space from the URL delimiters.

Offline
Posts: 27
Joined: Tue Oct 02, 2007 2:27 am

Post by tireless »

Instructor wrote:You can remove space from the URL delimiters.
into this? <file://D:\ProgramFiles\IrfanView\i_view32.exe>,then how to open it?the real url is D:\Program Files\IrfanView\i_view32.exe,not D:\ProgramFiles\IrfanView\i_view32.exe.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

into this?
No. "Main Menu->Options->Settings...->Advanced (2)->Hyperlinks->Delimiters"

Offline
Posts: 41
Joined: Wed Apr 09, 2008 3:57 am
Location: NL

Post by Sam_Zen »

Of course a space char could be removed as a work-around, to get the full underlined link back.
But that's not the point. It's about interpretation.
I fully agree with the fact that 'Program Files' is a clumsy construction, also as a directory with a space character.
If I want to install IrfanView, I make my own survey, and probably install it in D:\graphtool\irfanview.
No path-problems whatsoever.

Offline
Posts: 27
Joined: Tue Oct 02, 2007 2:27 am

Post by tireless »

Image

Image
Last edited by tireless on Fri Sep 05, 2008 11:34 am, edited 1 time in total.

Offline
Site Admin
Posts: 6311
Joined: Thu Jul 06, 2006 7:20 am

Post by Instructor »

tireless
If you want to use spaces in URL you must remove space from URL delimiters (as you did) and also enclose URL in delimiter characters (otherwise AkelEdit will don't know where URL ended). For example:
<file://d:\Program Files>
"file://d:\Program Files"
and so on.

Offline
Posts: 27
Joined: Tue Oct 02, 2007 2:27 am

Post by tireless »

But why version 3.6.0 can do it together:
<file://D:\Program Files\IrfanView\i_view32.exe>
http://akelpad.sourceforge.net test
file://D:\Program Files\IrfanView\i_view32.exe

version 4.0.4:
<file://D:\Program Files\IrfanView\i_view32.exe>
http://akelpad.sourceforge.net test
file://D:\Program Files\IrfanView\i_view32.exe

I also tried other notepad:metapad,same as AkelPad 3.6.0.
Image

Offline
Posts: 2247
Joined: Tue Aug 07, 2007 2:03 pm
Location: Vinnitsa, Ukraine

Post by FeyFre »

tireless
As you can see here (page18) file URL cannot contain space character, so I cannot understand where is problem here.

Offline
Posts: 41
Joined: Wed Apr 09, 2008 3:57 am
Location: NL

Post by Sam_Zen »

A workaround for this could be to replace the space character by "%20", before placing the URL :
<file://D:\Program%20Files\IrfanView\i_view32.exe>

Offline
Posts: 40
Joined: Sat Sep 06, 2008 1:39 am

Post by ravenlaughs »

No, I don't think so. It doesn't work for me, anyway.

I don't like to use the hyperlinks at all. I use a dark background, so the blue link is impossible to read.

Also, links to local files don't work for me. I can open a directory (in Windoze Explorer, ack) but not a file. It gets crossed up with other things I have installed. Yes, I have a weird system. I beat up on Windows.

Offline
Posts: 27
Joined: Tue Oct 02, 2007 2:27 am

Ask again:display "file path link"

Post by tireless »

By default,file path with spaces will displayed like:

file://E:\Program Files\Opera\opera.exe

And I want it to this:

file://E:\Program Files\Opera\opera.exe

I know must remove space from the URL delimiters if I want that.But this will causes:
http://akelpad.sourceforge.net                 :(

I had told that Version 3.60 displayed full (screenshot).Could you add an option "Characters Not Allowed at End",like the EmEditor does:

Image
Post Reply