From 09319907350e3e984a771d239acfcef08cf2d8a1 Mon Sep 17 00:00:00 2001 From: Jeff Odegard <42775175+JeffOdegard@users.noreply.github.com> Date: Wed, 19 Sep 2018 10:52:17 -0600 Subject: [PATCH] Delete Unnecessary XAMPP htdocs folder on install --- install.bat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.bat b/install.bat index 8fa5a56..b8c69ec 100644 --- a/install.bat +++ b/install.bat @@ -27,6 +27,7 @@ REM - Jan 30, 2017 - Fixed error with copy of config-xampp-win.xml to config.xml where it required full path REM - Apr 5, 2017 - Added mkdir for \xampp\php\logs directory (not included when installed) REM - Jun 27, 2017 - Removed copy cgi-bin contents + REM - Sep 19, 2018 - Deleting unnecessary C:\xampp\htdocs folder. mkdir c:\xampp\php\logs @@ -48,6 +49,9 @@ copy c:\xampp\www\conf\httpd-xampp.conf c:\xampp\apache\conf\extra rename c:\xampp\php\php.ini php.ini.old copy c:\xampp\www\conf\php.ini c:\xampp\php +echo Deleting unnecessary C:\xampp\htdocs folder. +del /F /S /Q c:\xampp\htdocs + @echo Installing Apache service c:\xampp\apache\bin\httpd -k install net start apache2.4