@echo off
SET Pash=%cd%
rem 删除当前目录下所有obj,bin目录
for /f "tokens=*" %%a in ('dir obj /b /ad /s ^|sort') do rd "%%a" /s/q
for /f "tokens=*" %%a in ('dir bin /b /ad /s ^|sort') do rd "%%a" /s/q
del %Pash%\Build\Release\Client\*.* /s/q
del %Pash%\Build\Release\WcfService\*.* /s/q
del %Pash%\Build\Release\WcfService\Modules\*.* /s/q
rem 跳转目录
cd %Pash%\Build\Release\WebApp
del /s /q *
for /F %%i in ('dir /b') do rmdir /s /q %%i
echo 清理完成!
mkdir %Pash%\Services\POYA.ACS.AppServer\bin\Debug\Modules
cd %Pash%\Services\POYA.ACS.AppServer\bin\Debug\Modules
echo.>>服务插件测试.txt
pause