Play your favorite music when you launch Windows Media Player

Our friends in Media Player have done a fine job with Media Player 9. One slight problem: I think they got their first use experience a little wrong. Usually when I launch Media Player, I want to listen to my music, not watch a trailer for Scooby Doo 2. You can go to Tools > Options > Player and un-check “Start Player in Media Guide”, but you actually have a few other options, too.

Our friends at MSDN have got documentation on the few command line parameters available from Media Player.

You can specify which mode you want it to launch in, which device to play, even which playlist to start.


1) I created a playlist called “Best Music” which is actually an auto playlist with all of my 4- and 5-star music.

2) I created a shortcut in my quick launch bar and pointed it to:


"C:\Program Files\Windows Media Player\wmplayer.exe" /Playlist "Best Music" /Task MediaLibrary


3) I changed the default icon to the green arrow in %SystemRoot%\system32\SHELL32.dll which distinguishes it from the plain, old Media Player.


Now I'm one click away from my favorite tunes.


A note: I thought it would be cool to launch this shortcut as minimized so that Media Player would just live in the tray. It turns out that Media Player launches and disappears when you do this! You either have to launch Media Player again without the “launch minimized” option set or kill the process. I’m sure they’ll get that fixed for Longhorn.

Comments (4)

  1. The Media Player shortcut in my Quick Launch toolbar has the command line parameter /prefetch:1 which is not documented on the mentioned MSDN page. Do you know the meaning?

  2. Varun Singh says:

    i have just made a microcontroller based IR port which recieves signals from a remote control (TV), i am able to capture the events of the remote and similarly MAP it to a Command Line which could trigger stuff on the desktop…

    what i want is: via the Command Line can i STOP, PLAY, volume (of WMP, i am able to change global vol), playlist (read above), POWER DN (close WMPLAYER), MUTE etc…

    ill b gratefull, if you could direct me to place where i can find this info?

    Thanks in Advance


Skip to main content