Change default double-click View for ico files

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

Moderators: XnTriq, xnview

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

Change default double-click View for ico files

Post by sibojan » Sun Jun 11, 2017 5:48 pm

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: 30213
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Change default double-click View for ico files

Post by xnview » Thu Jun 15, 2017 8:15 am

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 » Thu Jul 06, 2017 8:58 am

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: 39
Joined: Sat Apr 09, 2016 12:26 pm

Re: Change default double-click View for ico files

Post by sibojan » Sat Oct 21, 2017 8:32 pm

Problem solved.

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

For .ico file type, the "%1" was missing.

User avatar
V@no
Posts: 31
Joined: Sun Feb 25, 2007 8:06 pm

Re: Change default double-click View for ico files

Post by V@no » Fri Dec 07, 2018 5:42 pm

Just bumping this topic, as this is must 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"

Post Reply