将代码复制存为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
标签:bat,TITLE,批处理,Ping,cmd,ping,192.168,Server From: https://www.cnblogs.com/wulongy/p/17982283