1.

Solve : Not working?

Answer»

@echo on
start "" "C:\Program Files\windows media Player\wmplayer.exe" /prefetch:6 /OPEN "C:\abc.mp3"
start "" "c:\abc.mp3"

For /F "tokens=2" %3096 in ('tasklist^|Find "wmplayer.exe"') Do Set Task=%%3096
TaskKill %wmplayer.exe%
Please SEE writing the above batch file I can play the song,but after the
song is finished the media player window is not closing.
Please help so that media player window closes after the is finished.
Please dont be annoyed. THANKS
devduttaa%%3096 ? ? ? ? Really? Why?




joedavis, did you give him that code? How does it KNOW when the song is over?

Is joedavis your real name? You remind me of somebody.
devduttaa, please STOP starting new threads about the same topic.



Discussion

No Comment Found