with XnView 2.41 and XnView 2.42 the program does not start in the specified folder via command line anymore when XnView is installed in a different folder than %ProgramFiles%. Instead of opening in the specified folder, it opens in the folder where the command is executed (like C:\Windows\system32) or where the batch file is located. In XnView 2.40 it worked.
Example
XnView is installed under c:\XnView\xnview.exe
Open a command prompt (normally it opens under C:\Windows\system32). Now execute this command
Code: Select all
"c:\XnView\xnview.exe" "c:\temp"
Info and settings
Windows 7 x64
XnView 2.4x
Code: Select all
[HKEY_CURRENT_USER\Software\XnView]
"UseRegistry"=dword:00000001
[HKEY_CURRENT_USER\Software\XnView\Browser]
"StartupIn"=dword:00000000
"StartupDirectory"=""