bat启动多个ping 窗口持续ping同时开启指定的软件 批处理

将代码复制存为BAT 修改IP,和软件路径即可使用。

 

@echo off
cd
cls
start cmd /c"TITLE Ping Server 192.168.103.7 && ping 192.168.103.7 -t"

start cmd /c"TITLE Ping Server 192.168.100.156 && ping 192.168.100.156 -t"

start cmd /c"TITLE Ping Server 192.168.100.161 && ping 192.168.100.161 -t"

start cmd /c"TITLE Ping Server 192.168.100.163 && ping 192.168.100.163 -t"


@echo off
:start
start "" "C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Acrobat.exe"&ping localhost -n 1
start "" "C:\Program Files\Oray\SunLogin\SunloginClient\SunloginClient.exe"&ping localhost -n 1

exit

posted on 2024-01-23 13:41  stoneyeung  阅读(496)  评论(0编辑  收藏  举报

导航