1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
@echo off @echo 启动tomcat rem start D:\apache-tomcat-7.0.70\bin\startup.bat setlocal enabledelayedexpansion :1 netstat -an|findstr 7070 >nul if errorlevel 1 ( echo 端口未开启 ping /n 10 127.1 >nul goto 1 ) else ( echo 端口已开启 rem start iexplore.exe -k "http://localhost:8080/lfiom-morgan/html/morgan.html" rem start tasklist|findstr /i "chrome.exe" ||start chrome.exe -kiosk "http://www.baidu.com" start chrome.exe -kiosk "http://192.168.10.247:7070/" exit ) |