Relative paths

46 views
Skip to first unread message

Arnor Baldvinsson

unread,
Sep 12, 2016, 3:17:22 PM9/12/16
to MyLifeOrganized
Hi guys,

I evaluating 4.4.1.

The "relative paths" when adding file links to the notes does not work.  No matter what the "Use Relative path" is set to when the link is created OR from the context menu, it always tries to open the file in a folder relative to folder where the MLO database is.  Like;  T:\Shared Documents\MyLifeOrganized\T:\ThePathToMyFile\myfile.pdf

Any ideas?

Best regards,

Dwight Arthur

unread,
Sep 14, 2016, 8:46:58 AM9/14/16
to MyLifeOrganized
Hi, Amor. I am unclear whether the problem is that MLO is creating a relative link in your task note when you wanted a direct link, or whether you have an appropriate direct link in your task note and MLO is opening it incorrectly. It sounds like you are talking about MLO opening an existing link incorrectly but the setting you are talking about (if I'm not mistaken), for using relative paths, affects the creation of new links, not the opening of existing links.

Try turning off relative paths, creating a new direct link, and opening it. Is the created link correct? Does it open correctly?

In the event that you have managed to create an inappropriate relative link using MLO, I do not believe that there is any way to use MLO to repair it or open it correctly, you just have to delete the inapproproate like and replace it with a correct one. Sorry if I have misunderstood the problem.

Arnor Baldvinsson

unread,
Oct 3, 2016, 5:05:06 AM10/3/16
to MyLifeOrganized
Hi Dwight,
Sorry for the confusion and late reply.  

The problem is that no matter if "Use relative Path" is checked or unchecked when I create the link or when I open it, MLO always prefixes the path that it tries to open with the database path.  Example:  If I select a file to C:\Temp\2016-07-19_10-28-53.png, MLO creates a link like  "file:C:\Temp\2016-07-19_10-28-53.png"  But if I click on it, it shows an error "Could not execute "T:\Shared Documents\MyLifeOrganized\C:\Temp\2016-07-19_10-28-53.png" which of course it can't because it doesn't exist and is invalid.  This was with "Use relative path" unchecked both when the link was created and when it was executed.  See:  http://screencast.com/t/DKtvCVco1N for an example of the error.  

It works fine with web links (i.e. http: etc.) but file links do not.  I use screenshots and PDF files a lot and it would be great if MLO would open the links correctly.  

Best regards,
Reply all
Reply to author
Forward
0 new messages