使用批处理播放音乐文件? [英] Play music file using Batch?
本文介绍了使用批处理播放音乐文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我很困惑,怎么会这样。我想使用Batch来启动一个.mp3文件,并在打开start.mp3播放文件,它打开媒体播放器这样做。我如何在后台播放音乐文件,但也有能力停止它,我什么时候?
I am very confused as to how one would go about this. I want to use Batch to start an .mp3 file and while typing start file.mp3 plays the file, it opens the Media Player to do so. How would I play a music file in the background, but also have the ability to stop it whenever I please?
推荐答案
Windows Media Player 所有的铃声和哨声不适合非交互式聆听。使用较旧的版本,只打开一个小窗口和一些必要的控件,播放文件并退出:
Windows Media Player with all its bells and whistles is not suitable for noninteractive listening. Use older version instead, which opens just a small window with a few necessary controls, plays the file and exits:
Mplay32.exe /Play /Close "file.mp3"
这篇关于使用批处理播放音乐文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文