About hyperlinks to other documents
Moderators: fgagnon, nikos, Site Mods
About hyperlinks to other documents
While HTTP links work just fine (and opens a browser), I can't seem to get FILE:// to open another file in another instance of ED2. I sometimes make reference to other text files and it would be nice to hyperlink to them but the FILE: adds itself to the UNC pathname and hence produces an I/O error and doesn't find the file. Is there a solution? Thank you and regards!
Let me explain again... HTTP hyperlinks do use the browser and that is not where I am having a problem.
It is when I want to reference a FILE hyperlink, eg. in a normal text-file:
some words...
go to this text-file
more words...
would have to be written as:
some words...
go to this file://text-file.txt
more words...
but the FILE hyperlink produces an I/O error whereas the HTTP hyperlinks work just fine. Is there a way to call or open another text-based file (eg fileB.txt) from within another file (eg fileA.txt)? fileA and fileB would each be open in their own instances of ed2.
It is when I want to reference a FILE hyperlink, eg. in a normal text-file:
some words...
go to this text-file
more words...
would have to be written as:
some words...
go to this file://text-file.txt
more words...
but the FILE hyperlink produces an I/O error whereas the HTTP hyperlinks work just fine. Is there a way to call or open another text-based file (eg fileB.txt) from within another file (eg fileA.txt)? fileA and fileB would each be open in their own instances of ed2.
i've just discovered that file:// hyperlinks work but (a) require the full path and (b) the associated program is called, not necessarily ed2 (e.g. it could be the visual studio for .cpp files)
moreover if the path contains spaces it won't work, even if substituted by %20. The short 8.3 path works in these cases
this behaviour is an interesting curiosity but I don't control it, the underlying richedit control does
moreover if the path contains spaces it won't work, even if substituted by %20. The short 8.3 path works in these cases
this behaviour is an interesting curiosity but I don't control it, the underlying richedit control does