Command Line Options Available for Windows Media Player

Article translations Article translations
Article ID: 241422 - View products that this article applies to.
This article was previously published under Q241422
Expand all | Collapse all

SUMMARY

When starting the Windows Media Player from a command prompt, you can specify several startup parameters.

MORE INFORMATION

The Windows Media Player has several command line options:
  • /open: Open the file, don't automatically start playing.
  • /play: Start playing the file as soon the player is launched.
  • /close: Close the player after playback (only works when used with /play).
  • /fullscreen: Start the file in full-screen mode.
  • /new: Use a new instance of the player.
For example, to play a file and close the player when done:
Mplayer2.exe /play /close C:\Asfroot\Sample.asf

Properties

Article ID: 241422 - Last Review: October 26, 2007 - Revision: 1.3
APPLIES TO
  • Microsoft Windows Media Player 6.4
Keywords: 
kbproductlink kbinfo KB241422
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com