Command Line Options Available for Windows Media Player

ID: Q241422


The information in this article applies to:
  • Microsoft Windows Media Player version 6.4


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 

Additional query words: netshow wms wmp

Keywords : kbDSupport
Version : WINDOWS:6.4
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: September 24, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.