Page 1 of 1

Relative path /../ for OpenWith= in xnview.ini

Posted: Fri Sep 27, 2019 2:46 am
by cadu
Hi,

I'd appreciate your help.

I'm trying to use relative paths for OpenWith programs, editing the xnview.ini directly. So far no success. Here is an example:

Code: Select all

OpenWith=/../../Program1/Program1.exe, /../../Program2/Program2.exe
Is it possible to use relative paths for OpenWith programs? How to?

Thank you!

Re: Relative path /../ for OpenWith= in xnview.ini

Posted: Thu Oct 10, 2019 11:44 am
by xnview
currently not possible

Re: Relative path /../ for OpenWith= in xnview.ini

Posted: Thu Oct 10, 2019 1:14 pm
by cadu
Thanks for the feedback Pierre.
By chance, is the functionality implementation in the roadmap?
This would be handy to make XnView truly portable.
Best,
Carlos

Re: Relative path /../ for OpenWith= in xnview.ini

Posted: Wed Nov 13, 2019 1:06 pm
by xnview
relative path to xnview folder?

Re: Relative path /../ for OpenWith= in xnview.ini

Posted: Tue Aug 04, 2020 2:31 pm
by cadu
xnview wrote: Wed Nov 13, 2019 1:06 pm relative path to xnview folder?
I'm referring to the relative path to xnview folder for the programs listed in Open With.

Here an example of the relative path I use in XYplorer file manager to Open With (Inkscape):
<xypath>\..\..\..\AppMedia\Inkscape\bin\inkscape.exe

And here the absolute path, that seems the way XnView refers to the programs:
C:\Apps\AppMedia\Inkscape\bin\inkscape.exe

My point is that by using a relative path, despite the drive (C: E: G: etc.) you trigger XnView Portable from, it will always run the Open With programs.

If you need further information, please let me know.

Thanks for considering it!