Reputation: 325
How can a .bat
file open a .avi
, .wmv,
.mp4 or .mov
file and make it close when the video ends?
Is it possible? If not, is there an alternative way to do that?
Upvotes: 2
Views: 1595
Reputation: 143
Timeout command should do the deed for you if you know the fixed values of the vidoes your running. Ex.
start video.mp4
timeout 10 >nul
TASKKILL VLC.exe
Upvotes: 2