Change default double-click View for ico files

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

Moderators: XnTriq, helmut, xnview

Post Reply
sibojan
Posts: 49
Joined: Sat Apr 09, 2016 12:26 pm

Change default double-click View for ico files

Post by sibojan »

I recently upgraded win7 to win10. Some issues happened with ico files types.
Double-click jpg files, it shows the View mode.
Double-click ico file, it shows the Browser mode.
How can I change the default view to View mode for all file types?

I use the portable xniew 2.40.
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Change default double-click View for ico files

Post by xnview »

please check the registry entries for .ico and .jpg, it seems that there is a problem
Pierre.
servicesp
Posts: 1
Joined: Thu Jul 06, 2017 8:51 am
Contact:

Re: Change default double-click View for ico files

Post by servicesp »

got regedit and find

Code: Select all

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\UserChoice
- In the right-pane, note down the value data for Progid
-If the UserChoice branch does not exist, navigate to the following branch:

Code: Select all

HKEY_CLASSES_ROOT\.txt
In the right-pane, double-click (default) and mention the path to your custom icon
edit that and close.
sibojan
Posts: 49
Joined: Sat Apr 09, 2016 12:26 pm

Re: Change default double-click View for ico files

Post by sibojan »

Problem solved.

"F:\XnView\xnview.exe" "%1"

For .ico file type, the "%1" was missing.
User avatar
V@no
Posts: 35
Joined: Sun Feb 25, 2007 8:06 pm

Re: Change default double-click View for ico files

Post by V@no »

Just bumping this topic, as this is must be a bug in XnView itself...

On Windows 10 there is no "actions" for .ico files, however adding "%1" after a space to the end of default value in

Code: Select all

HKEY_CLASSES_ROOT\Applications\xnview.exe\shell\open\command
fixes the problem
So it should look like this (your path might be different)
"C:\Program Files(x86)\XnView\xnview.exe" "%1"
(note the space between quotes)
Post Reply