Control Windows Media Player Behaviour with Command Line Parameters

Windows Media Player (wmplayer) including WMPlayer 9, WMP 10 and Windows Media Player 11 supports set of command line parameters and operators that specify how the Windows Media Player behaves when it starts or launches. The parameters are good for WMPlayer users who wants to use command prompt to control and modify the behavior or condition of Windows Media Player. These command line operators or parameters can also be added to Windows shortcut to Windows Media Player as option for the target of shortcut, i.e. wmplayer.exe.

According to MSDN, the command line parameters that available for Windows Media Player include (with syntax and the changed behavior):

“path\filename” (e.g. wmplayer “c:\filename.wma”) - Start the Player and play the file.

“path\filename” /fullscreen (e.g.: wmplayer “c:\filename.wmv” /fullscreen) - Play the specified file in full-screen mode. The path and file name of the content to play must be specified.

/Device:{DVD|AudioCD} (e.g.: wmplayer /device:audio CD) - Play a DVD or audio CD.

“path\filename”?WMPSkin=skin name (e.g.: wmplayer “c:\filename.wma”?wmpskin=headspace) - Open the Player, applying the specified skin.

/Service:keyname - Open the Player showing the online store specified by keyname. (WMP10 and above only).

/Task NowPlaying - Open the Player in the Now Playing feature.

/Task MediaGuide - Open the Player in the Media Guide feature (current active online store in Windows Media Player).

/Task CDAudio - Open the Player in the Copy from CD feature (Rip feature in Windows Media Player).

/Task CDWrite - Open the Player in the Burn feature. (Requires Windows Media Player 10 or 11)

/Task MediaLibrary - Open the Player in the Media Library feature in Windows Media Player.

/Task RadioTuner - Open the Player in the Radio Tuner feature (current active online store in Windows Media Player).

/Task PortableDevice - Open the Player in the Copy to CD or Device feature (Sync feature in Windows Media Player).

/Task Services /Service servicename - Open the Player in the Premium Services feature, showing the service specified by the servicename parameter. This value is the unique name for the service. If the specified service has not been previously viewed, the servicename parameter is ignored. (Opens the specified online store in Windows Media Player)

/Task ServiceTaskX - Open the Player in the online store service task pane specified by X. For example, /Task ServiceTask1 opens the Player in the first online store service task pane.

/Task SkinViewer - Open the Player in the Skin Chooser feature.

/Playlist PlaylistName - Open the Player and play the specified playlist.

Share and contribute or get technical support and help at My Digital Life Forums.



2 Responses to “Control Windows Media Player Behaviour with Command Line Parameters”

  1. » Windows Media Player Command Line by Jordan Hofker
    September 24th, 2007 04:26
    1

    [...] Exactly what I’ve been looking for. [...]

  2. Sander
    June 25th, 2008 01:13
    2

    I can’t get the /fullscreen option to work… Using WMP11 in Skin Mode.

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

windows media player command line - media player classic command line - wmplayer.exe switches - media player classic parameters - command line media player - wmplayer command line - wmplayer.exe command line - wmplayer switches - wmplayer arguments - windows media player parameter - windows media player 9 command line options - wmplayer commandline - all - command line for windows media player - wmplayer options - open windows media player from command prompt - wmplayer parameters - windows media player command line options - media player command line - window media player command line - wmplayer.exe "command line" - media player command line switches - media player classic commands - "windows media" commands - +"wmplayer.exe" +"windows media player" +"command line" - commandline audio player windows - command line switch Media Player Classic - command line for wmplayer fullscreen - control windows media player - how to play windows media player using dos commands - how to play windows media player using dos commands - how to start windows media player from console with a file as argument - javascript control windows media player - javascript to control wm player - media player clasic shortcut parameters - media player classic full screen parameter - parametri wmplayer.exe - play command on mediaplayer using javascript - start windows mediaplayer from command line with arguments - windows media player 10.0 command line - windows media player command prompt - wmplayer.exe command line options - wmplayer switches autoplay - wmplayer key command prompt - wmplayer.exe parameter - wmplayer.exe /switches - "wmp command line" - cam windows mobile control windows media player 11 - command line to invoke windows media player - command line windows media player -