BAT File To Install and To Run Service
I wrote a bat file to install Tomcat 7.0.73 and start its service: SET JAVA_HOME=C:\Program Files\Java\jdk1.7.0_80 CD /D Server\apache-tomcat-7.0.73\bin\ service install MyTomcat SLEEP 5 sc start MyTomcat But there are 2 problems: After service install MyTomcat, It exits and It does not perform the command sc start MyTomcat; How can I change the script in … Read more