windows batch processing: suspended processing

reference:

        https://www.cnblogs.com/yulinlewis/p/10074565.html

to sum up:

        1.ping -n 1 127.1

                127.1 is 127.0.0.1, which is called the local loopback address, which represents the local virtual interface of the device, and is an interface that will never go down

                Realize virtual communication through ping, and then realize the suspension effect

 

        2.timeout /t 5

                Even simpler, pause for 5 seconds. If you press any key, it will continue to execute

                timeout /t -1, pause forever, until any key is pressed

Guess you like

Origin blog.csdn.net/qq1090504117/article/details/111028623