1. Re: Edita 0.06
- Posted by "Juergen Luethje" <j.lue at gmx.de> Feb 09, 2005
- 454 views
- Last edited Feb 10, 2005
Greg Haberek wrote: >> - It seems that shellExecute() doesn't like an expression such as >> "file://readme.txt". > > "file:" requires three slashes, not two, and a full path name. Like > this: "file:///C:\readme.txt" or whatever. I didn't know that, thanks! > I'm not at liberty to test > this with shellExecute() but I don't see why it wouldn't work. The following works on my system (Eu 2.5, Windowd 98) with the unaltered Edita 0.0.6 (the file is opend with the associated program): file:/c:/temp/readme.txt file://c:/temp/readme.txt file:///c:/temp/readme.txt file:////c:/temp/readme.txt However, hyperlinks lose a lot of their power when they *must* contain a full path name. Just imagine a project that works fine on my harddisk C:. When I burn the project on CD, it must be E: instead of C: (at home). When I want to run that CD at work, it must be F: instead ... So Pete, maybe Edita should leave those file:///... hyperlinks alone, which contain a full pathname, but *also* should execute file:///... hyperlinks with a relative name? Regards, Juergen PS: I didn't manage to write "file:///c:\temp\readme.txt" in Edita. Did you kill the backslash?