@echo off
fltmc>nul||cd/d %~dp0&&mshta vbscript:CreateObject("Shell.Application").ShellExecute("%~nx0","%1","","runas",1)(window.close)&&exit
set myPath=%~dp0
sc create .phpEnv_Apache binPath= "\"%myPath%bin\httpd.exe\" -k runservice" start= auto
pause