Windows Media Player WMP 11: Command Line Options
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



EdwardATeller said on October 9, 2008
Can I play a playlist and start it in full screen mode? I tried this:
“C:Program FilesWindows Media Player/wmplayer.exe” “C:UsersaMusicPlaylistsAll.wpl” /fullscreen
in a .BAT file, and it doesn’t work. Play list starts, but not in full screen mode.
R2.G2 said on December 14, 2008
Here is your .BAT file:
c:
cd UsersaMusicPlaylists
“C:Program FilesWindows Media Player/wmplayer.exe” /Playlist All /fullscreen
paulo said on January 28, 2009
How to close windows media player in command line ?
kumar said on June 17, 2009
nircmd.exe win close class “CabinetWClass”
Anonymous said on December 2, 2009
how do you close the player when the mov or music finishes playing?
Anonymous said on February 4, 2010
ehm…. the .bat file should be:
start wmplayer /Playlist NameOfYourPlaylist
example:
playlist is called ‘Music’,
start wmplayer /Playlist Music
Poul-Erik Hansen said on May 26, 2010
Unkonwn command line options:
/prefetch:3
/device:AudioCD
Anonymous said on January 20, 2011
Is there a loop command line option? We need to start a video (fullscreen) via command line and have it loop till we shut it down.
Thanks,
Dave
Vaxoooo23 said on May 13, 2011
how open url with command?