XnView 2.42 does not start in specified folder via command line
Posted: Tue Oct 10, 2017 7:13 pm
Hello,
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
In XnView 2.40 it opened XnView in the folder c:\temp. Now (XnView 2.41 and XnView 2.42) it opens under the current location, in this case C:\Windows\system32. This also applies to batch files when opening multiple XnView instances with different folders.
Info and settings
Windows 7 x64
XnView 2.4x
Changing the startup options does not solve the problem.
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"=""