Windows Media Player WMP 11: Command Line Options

Contributor Icon Contributed by Hack_Vista Date Icon May 21, 2006  
Tag Icon Tagged: Windows

WMP11 is out. Controlling media player from the command line just got a lot easier. Check out some of the new options.


Using my notebook as a portable media device, I often setup shortcuts to do things quickly. WMP11’s new command line options are a great addition.

This option will open wmp and play the playlist listed (NameOfPlayList)
wmplayer /Playlist NameOfPlayList

Play a song (nameofsong.wma):
wmplayer “c:\nameofsong.wma”

Play a song or video in fullscreen mode:
wmplayer “c:\nameofvideo.wmv” /fullscreen

Play the DVD device:
wmplayer /device:DVD

Play a song with the player in a certain skin (headspace):
wmplayer “c:\nameofsong.wma”?wmpskin=headspace

Open player in the Copy From CD Mode:
wmplayer /Task CDAudio

These all can be combined as well… for example…

Play DVD in fullscreen:
wmplayer /device:DVD /fullscreen

Previous recipe | Next recipe |
 
  • EdwardATeller
    Can I play a playlist and start it in full screen mode? I tried this:

    "C:\Program Files\Windows Media Player/wmplayer.exe" "C:\Users\a\Music\Playlists\All.wpl" /fullscreen

    in a .BAT file, and it doesn't work. Play list starts, but not in full screen mode.
  • R2.G2
    Here is your .BAT file:

    c:
    cd \Users\a\Music\Playlists
    "C:\Program Files\Windows Media Player/wmplayer.exe" /Playlist All /fullscreen
  • paulo
    How to close windows media player in command line ?
  • kumar
    nircmd.exe win close class "CabinetWClass"
blog comments powered by Disqus