Question Locked

How Do You Close Media Player 12 Automatically?

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

How do I get media player to close automatically after playing a video?

Window 7 Pro
Media Player 12.0.7601.175.14

Example of the command line I am using.

"C:\Program Files\Windows Media Player\wmplayer.exe" "C:\Videos\Starthere.wmv" /fullscreen /play /close

I have looked at several pages and they all point to the /close option, but it does not work. The /fullscreen works but /close, not so much. I have tried different variables.

"C:\Program Files\Windows Media Player\wmplayer.exe" "C:\Videos\Starthere.wmv"

"C:\Program Files\Windows Media Player\wmplayer.exe" "C:\Videos\Starthere.wmv" /play /close

"C:\Program Files\Windows Media Player\wmplayer.exe" "C:\Videos\Starthere.wmv" /close

3 replies

by seanferd

WMP no longer supports such arguments, AFAIK. But it does support a range of fairly stupid ones.

by geordietoddy

You're right about WMP12 not supporting useful command line arguments anymore - you CAN change the players skins though! :)

At any rate, use Task kill to close it:

TaskKill.exe /IM WMPlayer.exe

Hope this helps - it's my first post. :D

This discussion is closed to new replies.