@ECHO OFF
ECHO Stopping LightTPD...
"%cd%\commands\pskill" LightTPD
ECHO.
ECHO.
ECHO Stopping MySQL...
"%cd%\commands\pskill" mysqld-nt
ECHO.
del "%cd%\MySQL\data\*.err"
del "%cd%\MySQL\data\*.pid"
del "%cd%\Check-Servers.bat"
del "%cd%\Start-Lighty.bat"
del "%cd%\Start-MySQL.bat"
del "%cd%\Stop-Lighty.bat"
del "%cd%\Stop-MySQL.bat"
del "%cd%\Stop-Both-Servers.bat"
del "%cd%\Start-Both-Servers.bat"
del "%cd%\LightTPD\conf\lighttpd.conf"
del "%cd%\LightTPD\logs\*.log"
del "%cd%\TMP\sess*"
copy "%cd%\base_files\Start-Lighty2Go.exe" "%cd%"
"%cd%\traytool\traytool.exe" -quit -id=Lighty2Go_Tray_Tool
del "%cd%\Clean-Up.bat"
del "%cd%\set-path.bat"
del "%cd%\Shutdown.bat"
ECHO.
EXIT