Page 1 of 1

Relative file references are not normalized before they are used

Posted: 23.12.2017, 13:59
by nagylzs
I'm using FreeCommader in a portable installation. There is a directory that is synchronized across all of my computers, and FreeCommander is in a subfolder. I have several other portable apps installed, and I need to reference them relative to the FreeCommander installation. (Otherwise it would not be portable...)

If I open the favourites toolbar (Ctrl+Shift+Y) and add a folder to the toolbar with absolute path, it works great. If I add a relative reference to a program, it also works. For example, if I add

Code: Select all

then it will start the program. But there is a bug: if I add a relative reference to a folder, then it does not work as expected.

For example, let's suppose that FreeCommander is installed into

Code: Select all

and let's say that I want to create an icon that opens

Code: Select all

. So I create a toolbar icon that points to

Code: Select all

. If I click on this icon, then the file pane opens at this directory:

Code: Select all

. In other words: the path also contains the "parent directory" references, it is not normalized. The file pane actually shows my subfolder, but it is impossible to go into them with Enter. (It is possible to go one directory up, though.)


I hope it is clear what the problem is.