@ECHO OFF

SET startservers=false

start "Tray Tool" "%cd%\traytool\traytool.exe"
ECHO var.l2gDir = "%cd%" > "%cd%\LightTPD\conf\lighttpd.conf"
TYPE "%cd%\LightTPD\conf\lighttpd-l2g.conf" >> "%cd%\LightTPD\conf\lighttpd.conf"
copy "%cd%\base_files\*.*" "%cd%"
MOVE /Y Start-Lighty2Go.exe "%cd%\base_files"
IF "%startservers%" == "true" START "servers" "%cd%\Start-Both-Servers.bat"
ECHO.

SET startservers=

EXIT