TC internal association and Windows 11 new media player?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
ktp
Junior Member
Junior Member
Posts: 17
Joined: 2014-03-16, 07:16 UTC

TC internal association and Windows 11 new media player?

Post by *ktp »

Hello,

In Windows 11 there is a new Windows Media Player (WMP). Using Windows task manager I succeed to find out its path.

Old Windows Media Player:
"%ProgramFiles(x86)%\Windows Media Player\wmplayer.exe"

New Windows Media Player:
%ProgramFiles%\WindowsApps\microsoft.zunemusic_11.2212.32.0_x64__8wekyb3d8bbwe\Microsoft.Media.Player.exe

But when I use the new WMP path with TC internal association, the %1 parameter is not recognized, the command
simply launch new WMP without playing the video provided with %1. I also tried to run from a command prompt,
the new WMP does not seem to accept parameter (?).

Filter11_Open-New-Windows Media Player=""%ProgramFiles%\WindowsApps\microsoft.zunemusic_11.2212.32.0_x64__8wekyb3d8bbwe\Microsoft.Media.Player.exe" %1"

Other thing: is there a simpler way to invoke the new WMP? Because I am afraid that with future Windows update, the path would change, I so I will have to update the path of new WMP again.

Thank you in advance.
User avatar
petermad
Power Member
Power Member
Posts: 14793
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC internal association and Windows 11 new media player?

Post by *petermad »

Other thing: is there a simpler way to invoke the new WMP? Because I am afraid that with future Windows update, the path would change, I so I will have to update the path of new WMP again.

Code: Select all

mswindowsmusic:
Don't leave out the colon at the end.

Code: Select all

mswindowsmusic: "%1"
Worsk as an internal TC association in my Windows 10 - the file is loaded, but the sound doesn't play automatically.

You can alternatively use:

Code: Select all

ms-playto-audio:
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
ktp
Junior Member
Junior Member
Posts: 17
Joined: 2014-03-16, 07:16 UTC

Re: TC internal association and Windows 11 new media player?

Post by *ktp »

@pertermad

I tried your two suggestions, the new WMP starts, but unfortunately it does not load the %1 (video or audio file).
Its has its play queue list unchanged.

My setting in wincmd.ini:
Filter9_Open-New-Windows Media Player=ms-playto-audio: "%1"
User avatar
white
Power Member
Power Member
Posts: 4617
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: TC internal association and Windows 11 new media player?

Post by *white »

2ktp
It doesn't work for me too. BTW, you can also use "%LOCALAPPDATA%\Microsoft\WindowsApps\MediaPlayer.exe", but that doesn't help you either. I don't think it's possible to supply a file as parameter. When I play a music file using Windows association the command that is executed is this:

Code: Select all

"C:\Program Files\WindowsApps\Microsoft.ZuneMusic_11.2212.32.0_x64__8wekyb3d8bbwe\Microsoft.Media.Player.exe" -ServerName:Microsoft.ZuneMusic.AppXr954g6gg1tvs748d5g67zt981dvpmnr6.mca
User avatar
petermad
Power Member
Power Member
Posts: 14793
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC internal association and Windows 11 new media player?

Post by *petermad »

I tried your two suggestions, the new WMP starts, but unfortunately it does not load the %1 (video or audio file).
Its has its play queue list unchanged.
Yes, my bad - It just opens with the last played file ready to start.
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC internal association and Windows 11 new media player?

Post by *ghisler(Author) »

Some programs simply don't support command line parameters. Maybe you can open the file via drag&drop?
Author of Total Commander
https://www.ghisler.com
Post Reply