21 lines
363 B
Batchfile
21 lines
363 B
Batchfile
|
@echo off
|
||
|
|
||
|
chcp 65001
|
||
|
|
||
|
setlocal
|
||
|
|
||
|
set "delete_folder_list=toolkits gpt-ui gpt-server zf-legal-crm zf-legal-crm-ui"
|
||
|
|
||
|
for %%f in (%delete_folder_list%) do (
|
||
|
echo ----------------------------
|
||
|
if exist "%CD%\%%f" (
|
||
|
rmdir /s /q "%CD%\%%f"
|
||
|
echo 文件夹 %%f 已删除。
|
||
|
) else (
|
||
|
echo 文件夹 %%f 不存在。
|
||
|
)
|
||
|
)
|
||
|
|
||
|
endlocal
|
||
|
|
||
|
pause
|