Proper commandline syntax

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

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Proper commandline syntax

Post by JohnFredC »

I am trying a little scheme of saving different INI files and opening XnView with them via the INI commandline switch...

... but can't get it to work!

Have tried:
  • C:\Utility\XnView\Xnview.exe INI C:\Utility\XnView\test.ini
    C:\Utility\XnView\Xnview.exe INI=C:\Utility\XnView\test.ini
    C:\Utility\XnView\Xnview.exe -INI C:\Utility\XnView\test.ini
    C:\Utility\XnView\Xnview.exe -INI=C:\Utility\XnView\test.ini
The Help file isn't clear on what is the correct syntax.

So... what is the correct syntax to cause XnView to start with a designated INI file?

TIA
John
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

A quick test and this worked for me:
wine xnview.exe -ini test.ini

The ini file was in same directory as program. I wasn't successful with absolute paths, but then I'm not on proper OS to test it.
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Post by JohnFredC »

Thanks! That must have been the combination I didn't try...
xnview.exe -ini test.ini
John
Post Reply