Saturday 28 December 2013

Command Line Parameters for Wmplayer

Windows Media Player supports a set of command line parameters that specify how the Player behaves when it starts. The following table details the parameters and their behaviors.
Syntax Behavior
"path\filename"(For example: wmplayer "c:\filename.wma")Start the Player and play the file.
"path\filename" /fullscreen(For example: wmplayer "c:\filename.wmv" /fullscreen)Play the specified file in full-screen mode.You must specify the path and file name of the content to play.
/Device:{DVD|AudioCD}(For example: wmplayer /device:audio CD)Play a DVD or audio CD.
"path\filename?WMPSkin=skin name"For example: wmplayer "c:\filename.wma?wmpskin=headspace"Open the Player, applying the specified skin.
/Service:keynameOpen the Player showing the online store specified by keyname.Requires Windows Media Player 10 or later.
/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 10 or later).
/Task CDAudio Open the Player in the Copy from CD feature (Rip feature in Windows Media Player 10 or Windows Media Player 11). This parameter is not supported in Windows Media Player 12.
/Task CDWrite Open the Player in the Burn feature.Requires Windows Media Player 10.
/Task MediaLibrary Open the Player in the Library feature.
/Task RadioTuner Open the Player in the Radio Tuner feature (current active online store in Windows Media Player 10 or later).
/Task PortableDevice Open the Player in the Copy to CD or Device feature (Sync feature in Windows Media Player 10 or later).
/Task Services /Service servicenameOpen 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 10 or later.)
/Task ServiceTaskXOpen 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 PlaylistNameOpen the Player and play the specified playlist.
/Schema:{Music|Pictures|Video|TV|Other}For example: wmplayer /Schema:Pictures /Task:PortableDeviceOpen the Player, showing the specified media category. Requires Windows Media Player 11.

No comments:

Post a Comment