Joke Collection Website - Public benefit messages - How to write the bat batch file?

How to write the bat batch file?

I made a batch collection, but I just made a function similar to what you need. I don't know if it can meet your needs, or you can modify it in the original code.

Logically speaking, when the number of detected disconnections meets your requirements, you can automatically run a sound file or pop up a warning window.