@echo off
Call Pn\config.cmd
setlocal
Prompt -$g

if exist Apache\logs\httpd.pid goto stopsvc
echo   ____________________________________________________________
echo  ^|                                                            ^|
echo  ^|    Apache ËÆºõÃ»ÓÐÔËÐÐ.                                    ^|
echo  ^|____________________________________________________________^|
echo.
:stopsvc
cd Apache
bin\httpd.exe -k stop -n %htd_srv_name%
bin\httpd.exe -k uninstall -n %htd_srv_name% || pause
cd ..

Prompt