如果直接用gplay,每次都是歌曲播放完成,才出歌名,复制代码
- cls
- @echo off
- mode con: cols=30 lines=20
- color 02
- title 音乐播放器
- for %%i in (*.mp3) do echo "%%i"&gplay *.mp3 >nul 2>nul
- pause
复制代码
- @echo off
- for %%i in (*.mp3) do (
- echo "%%i"
- gplay "%%i"
- )
- pause
欢迎光临 批处理之家 (http://www.bathome.net/) | Powered by Discuz! 7.2 |