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.
TC internal association and Windows 11 new media player?
Moderators: Hacker, petermad, Stefan2, white
Re: TC internal association and Windows 11 new media player?
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:
Code: Select all
mswindowsmusic: "%1"
You can alternatively use:
Code: Select all
ms-playto-audio:
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: TC internal association and Windows 11 new media player?
@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"
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"
Re: TC internal association and Windows 11 new media player?
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:
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
Re: TC internal association and Windows 11 new media player?
Yes, my bad - It just opens with the last played file ready to start.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.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50486
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC internal association and Windows 11 new media player?
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
https://www.ghisler.com