Question Having trouble making a batch file to do what I want.

HeXen

Diamond Member
Dec 13, 2009
7,831
37
91
I want a .bat to open a video file in the Windows movie app then close it when the video is done playing. I tried commands that I could find from Google but they don't work or gives me error.

This is what I cobbled together based from search results but obviously it's wrong.

start "" --fullscreen C:\users\alienware\documents\xb.avi
timeout 10 >null
TASKKILL /F /IM explorer.exe shell:appsfolder\microsoft.zunevideo_8wekyb3d8bbwe!microsoft.zunevideo

What is the proper script for this?