back again. i put this code on desktop. taped on picture ' the mediaplayer loaded but video didn't play. i closed mediaplayer. taped on another picture. media player loaded but video didn't play. this is where i use task manager to get video to play. as described before. i taped on the desktop flie you wrote at this time . what happened is the command promt window flashed then disappeared. to get the video to play i used the task manager .
Yes, that is how batch files work. If you just double click them the window comes up and goes away when the command is done.
You may be killing the wrong process with the command.