67Views2Replies

Author Options:

How to check if a video is playing, and if it is play it, if not don't play? Answered

This is what I got:
@ECHO off
xcopy /h startMe2.bat u:\
xcopy /h InformationalVideo.mp4 u:\
:start
tasklist /nh /fi "imagename eq InformationalVideo.mp4" | find /i "InformationalVideo.mp4" > nul ||(start InformationalVideo.mp4 param1)
start startMe.bat
start u:\startMe2.bat
goto start

but it doesn't work, anyone care to help?

Tags:batch

Discussions

0
Big Projects
Big Projects

4 years ago

This should help: https://www.instructables.com/community?categoryGroup=forums&category=esl

0
Downunder35m
Downunder35m

4 years ago

Did you check your question before submitting it?
Asking as at least to me it makes no sense at all....