You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
464 B
Batchfile

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

@echo OFF
setlocal enabledelayedexpansion
echo 正在清理项目文件...
REM 删除前端node_modules更高效的方式
if exist ".\Web\node_modules" (
echo 正在删除 Web node_modules...
rd /s /q ".\Web\node_modules" 2>nul
)
REM 清理Admin.NET项目的bin、obj和public文件夹
for /d /r ".\Admin.NET\" %%b in (bin obj public) do (
if exist "%%b" (
echo 正在删除 %%~b...
rd /s /q "%%b" 2>nul
)
)
echo 【处理完毕,按任意键退出】
pause >nul
exit /b 0