Stop Music Once Playing

前端 未结 2 2027
长情又很酷
长情又很酷 2021-01-26 03:31

I am trying to get a song to play in the background of Windows, after a little looking I found this:

@echo off
set file=RRLJ.mp3
(  echo Set Sound = CreateObject         


        
2条回答
  •  情话喂你
    2021-01-26 04:32

    This work for me, and is only one line.

    Taskkill /IM "wscript.exe" /F>nul 2>&1
    

提交回复
热议问题