启动:tomcat.bat
"C:\Program Files\Java\jdk1.5.0_16\bin\java.exe" -Xms128m -Xmx384m -jar -Duser.dir="E:\tools\2008\apache-tomcat-5.5.26" "E:\tools\2008\apache-tomcat-5.5.26\bin\bootstrap.jar" start
关闭:stop tomcat.bat
"C:\Program Files\Java\jdk1.5.0_16\bin\java.exe" -Xms128m -Xmx384m -jar -Duser.dir="E:\tools\2008\apache-tomcat-5.5.26" "E:\tools\2008\apache-tomcat-5.5.26\bin\bootstrap.jar" stop
隐藏启动:start tomcat.vbs
Set ws = CreateObject("Wscript.Shell")
ws.run "cmd /c tomcat.bat",vbhide
根据具体情况修改路径
执行start tomcat.vbs即可启动tomcat而不显示cmd