Page 1 of 1

Proper commandline syntax

Posted: Thu Jul 10, 2008 4:31 pm
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

Posted: Thu Jul 10, 2008 4:47 pm
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.

Posted: Thu Jul 10, 2008 4:53 pm
by JohnFredC
Thanks! That must have been the combination I didn't try...
xnview.exe -ini test.ini