File Association for .JPG Won't Work

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
commnthings
Junior Member
Junior Member
Posts: 6
Joined: 2015-10-26, 04:22 UTC
Location: Gardiner, Washington, USA

File Association for .JPG Won't Work

Post by *commnthings » 2015-10-26, 04:32 UTC

After upgrading to TC (x64) 8.52a I no longer have a file association for JPG and related file types (.jpeg, .png, .psd, etc.) I am using Adobe Photoshop 7. I have tried using the Associate dialog to associate this file type with
Adobe Photoshop Image ("C:\Program Files (x86)\Adobe\Photoshop 7.0\Photoshop.exe" "%1")
but when I click OK nothing happens. I am obviously doing something wrong.
HELP, please!

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36774
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2015-10-26, 10:36 UTC

The Associate dialog fails when you set the association just once via the Explorer method: Right click, Open with, Choose default program. Then Windows blocks the change of the associations by programs. This was done because some programs always changed the association to themselves when launched, although the user had changed it.

So to change the association now, you will have to use the Explorer method also in Total Commander.
Author of Total Commander
http://www.ghisler.com

commnthings
Junior Member
Junior Member
Posts: 6
Joined: 2015-10-26, 04:22 UTC
Location: Gardiner, Washington, USA

Post by *commnthings » 2015-10-29, 17:58 UTC

Christian,
I never use Explorer so that was confusing. Now I understand.
Thanks,
Bob

rah
Junior Member
Junior Member
Posts: 11
Joined: 2006-07-23, 12:14 UTC
Location: New Hampshire, USA

Post by *rah » 2016-06-24, 11:31 UTC

I just upgraded from Win7 to Win10. When I doubleclick a jpg file in TC, it ALWAYS puts up a dialog that says "How do you want to open this file" followed "Keep using this app" (showing IrfanView), followed by a list of other programs. There is a checkbox to always use the selected program. Even if I check the checkbox, and stay with Irfan, it still asks me this EVERY time on a doubleclick in TC.

I have associated Irfan with .jpg in the Win10 association panel (not just in Irfan itself). If I use Windows Explorer, Irfan opens immediately on a doubleclick without showing that annoying dialog.

Other filetypes work fine in TC - e.g. doubleclicking a .txt file opens my associated program without any dialogs.

I am using TC 8.52a

Any help would be appreciated.

User avatar
petermad
Power Member
Power Member
Posts: 8167
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad » 2016-06-24, 22:39 UTC

"Right click" -> "Open with" -> "Chose anoter app" -> select IrfanView -> "Always use this app to open JPG files" works fine here under Windows 10.
License #524
Danish Total Commander Translator
TC 9.21a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit and TC 2.92b1 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

rah
Junior Member
Junior Member
Posts: 11
Joined: 2006-07-23, 12:14 UTC
Location: New Hampshire, USA

Post by *rah » 2016-06-25, 11:07 UTC

Yes, that always worked for me, but the problem was that I could never get it to just open the jpg file in Irfan without my doing something extra (right-mousing as you describe; answering a question about using the default Irfan as I described above, etc).

However, I see this morning that it is now working OK - a doubleclick opens a jpg in Irfan right away. Hmmmm. Seems like it needed a reboot (or a shut down?) in order to really get it set correctly.

Anyway, I'm all set now. Thanks!

zuccadoc
Junior Member
Junior Member
Posts: 17
Joined: 2008-03-14, 08:40 UTC

Re: File Association for .JPG Won't Work

Post by *zuccadoc » 2019-02-06, 11:43 UTC

No hope to get it fix on my PC, reboot did not help neither.
I just want Photo Viewer for .jpg
C:\Program Files\WindowsApps\Microsoft.Windows.Photos_2018.18011.15918.0_x64__8wekyb3d8bbwe\Microsoft.Photos.exe
in explorer everything is ok, in TC it opens "Windows Photo Viewer" -
c:\Program Files\Windows Photo Viewer\PhotoViewer.dll
solved after 30 minutes of bashing my hand on the desk, removing the freaking tickbox "Replace with.." in "Associate With..." Menu:

Image: https://i.imgur.com/WNSBvin.jpg
I follow the truth.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 36774
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: File Association for .JPG Won't Work

Post by *ghisler(Author) » 2019-02-07, 10:48 UTC

This is intentional because the Photo Viewer app is faulty when called from programs other than the Explorer: You cannot switch through images with the next/previous buttons in this case. Although I have reported this bug to Microsoft a long time ago, it has never been fixed.
Author of Total Commander
http://www.ghisler.com

zuccadoc
Junior Member
Junior Member
Posts: 17
Joined: 2008-03-14, 08:40 UTC

Re: File Association for .JPG Won't Work

Post by *zuccadoc » 2019-02-12, 10:34 UTC

Interesting... You are right... thanks.
I follow the truth.

Post Reply