File Association for .JPG Won't Work

English support forum

Moderators: white, Hacker, petermad, Stefan2

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

File Association for .JPG Won't Work

Post by *commnthings »

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: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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
https://www.ghisler.com
commnthings
Junior Member
Junior Member
Posts: 7
Joined: 2015-10-26, 04:22 UTC
Location: Gardiner, Washington, USA

Post by *commnthings »

Christian,
I never use Explorer so that was confusing. Now I understand.
Thanks,
Bob
rah
Junior Member
Junior Member
Posts: 12
Joined: 2006-07-23, 12:14 UTC
Location: New Hampshire, USA

Post by *rah »

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: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

"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 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
rah
Junior Member
Junior Member
Posts: 12
Joined: 2006-07-23, 12:14 UTC
Location: New Hampshire, USA

Post by *rah »

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: 20
Joined: 2008-03-14, 08:40 UTC

Re: File Association for .JPG Won't Work

Post by *zuccadoc »

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: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: File Association for .JPG Won't Work

Post by *ghisler(Author) »

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
https://www.ghisler.com
zuccadoc
Junior Member
Junior Member
Posts: 20
Joined: 2008-03-14, 08:40 UTC

Re: File Association for .JPG Won't Work

Post by *zuccadoc »

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