@ECHO OFF

SET presskey=false

ECHO Starting LightTPD...
ECHO.
"%cd%\lightTPD\lighttpd.exe" -v
ECHO.
"%cd%\lightTPD\lighttpd.exe" -f "%cd%\lighttpd\conf\lighttpd.conf" -m "%cd%\LightTPD\lib"
IF "%presskey%" == "true" (
	ECHO Press any key to continue...
	PAUSE >NUL
) ELSE (
	REM Fake "sleep 1000" 
	PING 127.0.0.1 -n 2 > NUL
)
ECHO Starting MySQL...
ECHO MySQL takes a moment to create its log files.
ECHO.
start "MySQL" /B "%cd%\MySQL\bin\mysqld-nt.exe" --defaults-file="%cd%\MySQL\my.ini" --standalone
ECHO.
IF "%presskey%" == "true" (
	ECHO Press any key to continue...
	PAUSE >NUL
) ELSE (
	REM Fake "sleep 1000"
	PING 127.0.0.1 -n 2 > NUL
)

SET presskey=
EXIT
