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

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
cadu
Posts: 114
Joined: Thu Mar 15, 2012 10:43 am

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

Post 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!
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

currently not possible
Pierre.
cadu
Posts: 114
Joined: Thu Mar 15, 2012 10:43 am

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

Post 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
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

relative path to xnview folder?
Pierre.
cadu
Posts: 114
Joined: Thu Mar 15, 2012 10:43 am

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

Post 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!
Post Reply