parameter.bat
set CURRENT_DIR=%cd%
set JAVA_HOME=%CURRENT_DIR%\jdk
set CATALINA_HOME=%CURRENT_DIR%\tomcat
set MYSQL_HOME=%CURRENT_DIR%\mysql
set PATH=%PATH%;%JAVA_HOME%\bin;%CATALINA_HOME%\bin;%MYSQL_HOME%\bin
start
database.bat
call parameter.bat
cd %MYSQL_HOME%\bin
mysqld
stopdatabase.bat
call parameter.bat
cd %MYSQL_HOME%\bin
mysqladmin -u root -p shutdown
start.bat
call parameter.bat
call "%CATALINA_HOME%\bin\startup.bat"
stop.bat
call "%CATALINA_HOME%\bin\shutdown.bat"