::tomcat重启
@echo off
::tomcat作为系统服务运行,则需先安装tomcat5服务
rem D:/apache-tomcat-5.5.27/bin/service.bat install
@echo 正在停止tomcat5
rem net stop tomcat5
call "D:/apache-tomcat-5.5.27/bin/shutdown.bat"
::延时5秒
ping 127.0.0.1 -n 5 >null
@echo 正在启动tomcat5
rem net start tomcat5
call "D:/apache-tomcat-5.5.27/bin/startup.bat"