We know that you can use the wmplayer command to start a mediaplayer. To enable the mediaplayer to play the specified file or a media stream publishing point, we can use the following command format:
Wmplayer "MMS: // win-fw.migu.com/12530"
Wmplayer "C: \ wmpub \ wmroot \ legacy_content_clip.wmv"
However, you need to manually control the execution of commands in the running process. If you write the commands to the batch files, you can dynamically control the execution of the commands by planning tasks and other means.
Batch files are very simple. You can change the suffix of a text file to bat. Then, save the above content in the file and double-click it to execute. However, double-click will find that mediaplayer cannot be started because a step is missing.Copy the wmplayer.exe file under the c: \ Program Files (x86) \ Windows Media playerdirectory to the c: \ windows \ system32 directory..
Note: The above path c: \ Program Files (x86) \ Windows Media Player is a 64-bit system path. If it is a 32-bit system, it is C: \ Program Files \ Windows Media Player