Opening files with apps that have custom file assoc broken

Things you’d like to miss in the future...
Forum rules
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
admin
Site Admin
Posts: 64833
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Opening files with apps that have custom file assoc broken

Post by admin »

Muroph wrote:
tomuser wrote:Problems with .ini or .txt are now fixed, but I'm still having problems with files which are associated to Windows Picture and Fax Viewer (.jpg, .gif).
+1, using 8.70.0006 :(

my reg key for jpg files is:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\jpegfile\shell\Open\Command\(Padrão)
and the value:
rundll32.exe C:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen %1
Wow, this stuff is more difficult than I thought. OK, I'll try again...

tomuser
Posts: 135
Joined: 04 Dec 2009 18:52

Re: Opening files with apps that have custom file assoc broken

Post by tomuser »

0007 version now fixes .jpg issue. But still problematic with .gif file. Doubleclick opens IE to show it. Right click and selecting there Preview opens it correctly. Even if set "open with..." in XYplorer and from list Windows Fax Viewer and "use always..." it still opens IE to show it :/

in 8.70.0000 everything works OK, but starting from 0003 not anymore.

DorothyFan1
Posts: 104
Joined: 10 Jul 2009 15:51

Re: Opening files with apps that have custom file assoc broken

Post by DorothyFan1 »

I'm reposting this comment in this thread because it's relevant to the issue in question:
I have FLV files that I open constantly and they are assigned to the FLV player by association. When I RIGHT-CLICK the file to open and choose "Open" the file is correctly playing in the FLV player.

However, XYPlorer 8.70.0007 (Dec 5th) is showing an issue - when I DOUBLE-CLICK the same file to open up...the file is opening up with the wrong program. In this case it opens up in WINAMP 5.56.

This shouldn't be happening if my FLV files are assigned to the FLV player by default.
To be fair...I went into File Associations in "another file manager" and to my surprise Winamp was listed to open the FLV files. I promptly corrected this mistake and went back to XYplorer to see if the change would fix this issue.

Well, when I double clicked the FLV file...it was STILL opening up in Winamp 5.56 - while the "other file manager" opened it up correctly.

admin
Site Admin
Posts: 64833
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Opening files with apps that have custom file assoc broken

Post by admin »

tomuser wrote:0007 version now fixes .jpg issue. But still problematic with .gif file. Doubleclick opens IE to show it. Right click and selecting there Preview opens it correctly. Even if set "open with..." in XYplorer and from list Windows Fax Viewer and "use always..." it still opens IE to show it :/

in 8.70.0000 everything works OK, but starting from 0003 not anymore.
Please paste this into the address bar and ENTER:

Code: Select all

::text getinfo("regcmd", "gif");
What is returned?

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Opening files with apps that have custom file assoc broken

Post by zer0 »

I'm having issues with AVI, WMV, NFO, RTF, JPG and PNG files. Code using the newly-added function is below (in brackets is app that this file format is supposed to be opened in, and does if WE is used):
AVI (VLC)

Code: Select all

Play="%ProgramFiles%\Windows Media Player\wmplayer.exe" /prefetch:8 /Play "%L"
WMV (MPC)

Code: Select all

Play="%ProgramFiles%\Windows Media Player\wmplayer.exe" /prefetch:7 /Play "%L"
NFO (Notepad)

Code: Select all

open=%SystemRoot%\system32\msinfo32.exe "%1"
RTF (Wordpad)

Code: Select all

Open="C:\Program Files\Microsoft Office\Office12\WINWORD.EXE" /n /dde
JPG (Picasa)

Code: Select all

open="C:\PROGRA~1\MICROS~3\Office12\OIS.EXE" /shellOpen "%1"
PNG (Picasa)

Code: Select all

open="C:\PROGRA~1\MICROS~3\Office12\OIS.EXE" /shellOpen "%1"
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

DorothyFan1
Posts: 104
Joined: 10 Jul 2009 15:51

Re: Opening files with apps that have custom file assoc broken

Post by DorothyFan1 »

When I ran that getinfo command to see what XYplorer is using to open my FLV files...I surprisingly still get this:

Play="C:\Program Files\Winamp\winamp.exe" "%1"

My question is...WHERE DO I CHANGE THIS?!

P.S. I fixed the problem for myself. I manually edited the line "Play with"...and changed the icon being used for the file extension. This finally solved MY issue and can safely use XYplorer correctly with the FLV file extension. MP3 files thankfully haven't changed during all the fiddling and open up correctly in Winamp 5.56.

However, I'm keeping my eyes open for this issue and I'm going to continue watching this thread.

admin
Site Admin
Posts: 64833
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Opening files with apps that have custom file assoc broken

Post by admin »

zer0 wrote:I'm having issues with AVI, WMV, NFO, RTF, JPG and PNG files. Code using the newly-added function is below (in brackets is app that this file format is supposed to be opened in, and does if WE is used):
AVI (VLC)

Code: Select all

Play="%ProgramFiles%\Windows Media Player\wmplayer.exe" /prefetch:8 /Play "%L"
WMV (MPC)

Code: Select all

Play="%ProgramFiles%\Windows Media Player\wmplayer.exe" /prefetch:7 /Play "%L"
NFO (Notepad)

Code: Select all

open=%SystemRoot%\system32\msinfo32.exe "%1"
RTF (Wordpad)

Code: Select all

Open="C:\Program Files\Microsoft Office\Office12\WINWORD.EXE" /n /dde
JPG (Picasa)

Code: Select all

open="C:\PROGRA~1\MICROS~3\Office12\OIS.EXE" /shellOpen "%1"
PNG (Picasa)

Code: Select all

open="C:\PROGRA~1\MICROS~3\Office12\OIS.EXE" /shellOpen "%1"
Interesting, thanks! So it looks like I retrieve the wrong default command line...

I assume it all works alright with 8.70.0000?

admin
Site Admin
Posts: 64833
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Opening files with apps that have custom file assoc broken

Post by admin »

DorothyFan1 wrote:When I ran that getinfo command to see what XYplorer is using to open my FLV files...I surprisingly still get this:

Play="C:\Program Files\Winamp\winamp.exe" "%1"

My question is...WHERE DO I CHANGE THIS?!

P.S. I fixed the problem for myself. I manually edited the line "Play with"...and changed the icon being used for the file extension. This finally solved MY issue and can safely use XYplorer correctly with the FLV file extension. MP3 files thankfully haven't changed during all the fiddling and open up correctly in Winamp 5.56.

However, I'm keeping my eyes open for this issue and I'm going to continue watching this thread.
So you change your registry in order to make a BETA version work! :shock: That's the right attitude! :wink: Alas, I have to adapt the app to users who don't share this courage.

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Opening files with apps that have custom file assoc broken

Post by zer0 »

admin wrote:I assume it all works alright with 8.70.0000?
That assumption is correct.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

admin
Site Admin
Posts: 64833
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Opening files with apps that have custom file assoc broken

Post by admin »

zer0 wrote:
admin wrote:I assume it all works alright with 8.70.0000?
That assumption is correct.
Ok, I clearly opened Pandora's Box with the recent changes. Either I find a third way to handle this or I give up and go back to way number one.

DorothyFan1
Posts: 104
Joined: 10 Jul 2009 15:51

Re: Opening files with apps that have custom file assoc broken

Post by DorothyFan1 »

I really wouldn't change anything EXCEPT...to make it easier for people to edit the file extensions without going on a wild goose chase. Like make an menu option to open up ALL the file extensions that XYplorer is currently reading...so this way if there are any problems people can manually make those changes right from within XYplorer.

I currently don't see this option in XYplorer. Am I correct?

admin
Site Admin
Posts: 64833
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Opening files with apps that have custom file assoc broken

Post by admin »

DorothyFan1 wrote:I really wouldn't change anything EXCEPT...to make it easier for people to edit the file extensions without going on a wild goose chase. Like make an menu option to open up ALL the file extensions that XYplorer is currently reading...so this way if there are any problems people can manually make those changes right from within XYplorer.

I currently don't see this option in XYplorer. Am I correct?
Why edit anything? XY should simply do exactly what Explorer does when dblclicking a file, that's all.

tomuser
Posts: 135
Joined: 04 Dec 2009 18:52

Re: Opening files with apps that have custom file assoc broken

Post by tomuser »

admin wrote:Please paste this into the address bar and ENTER:

Code: Select all

::text getinfo("regcmd", "gif");
What is returned?
Gives this (using v0008):

Code: Select all

open="D:\Program Files\Internet Explorer\iexplore.exe" -nohome

DorothyFan1
Posts: 104
Joined: 10 Jul 2009 15:51

Re: Opening files with apps that have custom file assoc broken

Post by DorothyFan1 »

admin wrote:
DorothyFan1 wrote:I really wouldn't change anything EXCEPT...to make it easier for people to edit the file extensions without going on a wild goose chase. Like make an menu option to open up ALL the file extensions that XYplorer is currently reading...so this way if there are any problems people can manually make those changes right from within XYplorer.

I currently don't see this option in XYplorer. Am I correct?
Why edit anything? XY should simply do exactly what Explorer does when dblclicking a file, that's all.
Then how come in my experiment XYplorer wouldn't do this? I had to MANUALLY change the program file association line "somewhere" and now it works correctly. I did it by changing the icon being used and edited the program associated with the extension. But strangely enough none of my "other filemangers" had this issue. Only XYplorer. So why did XYplorer have this problem?

This confirms my query that we don't have the ability to manually change the file extensions in the registry from XYplorer. This has got to be implemented ASAP. All the "other filemanagers" have this option. I couldn't find a way to do this directly with XYplorer. So I was lucky enough when I did. I figured out the way to solve the problem for my issue.

I'm not blaming the programmer or XYplorer's design. I'm asking that this sensible option be included so more experienced coders like myself can do the fiddling with the file extensions on our own. This should NOT be done via scripting. This has to be done via modeless GUI dialog box options for editing. Just my opinion.

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Opening files with apps that have custom file assoc broken

Post by zer0 »

Same story. None of the apps that should have opened respective files did so. Information returned by regcmd hasn't changed for any of files mentioned previously.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

Post Reply