Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If you pin Windows Media Player 12 to the taskbar in Windows 7, and right-click on it, there is a option: Play all music Play all music

But I don't want to right click and select it, I want to create a shortcut and pin it to taskbar, when I click it, it opens WMP and automatically "Play all music" How do I do that?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Use the following command:

"C:\Program Files (x86)\Windows Media Player\wmplayer.exe" /prefetch:11 /Query:3;3;6;Play all music;29518;-1;;;;0;;;;2;;

If you have a 32 Bit Windows, remove the ' (x86)' from the path.

How did I know this? I didn't. I fired up Process Explorer, then clicked the 'Play all music' from the Windows Media Player context menu on the task bar. Over in Process Explorer I looked at the properties for 'wmplayer.exe' and on the 'Image' tab it shows the full command.

So I have no idea what it all means, but it works (at least on my machine).

share|improve this answer
    
thank you for your help, actually before I asked I opened process explorer to see what the command line is, but :LOL:, i looked at the command line and see "C:\Program Files\Windows Media Player\wmplayer.exe" /prefetch:1", I thought that's it, because I didn't use the mouse and move across the box =)) –  ranpagezz Feb 20 '12 at 1:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.