diff --git a/nas-delete.bat b/nas-delete.bat new file mode 100644 index 0000000..4d9d191 --- /dev/null +++ b/nas-delete.bat @@ -0,0 +1,21 @@ +@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 \ No newline at end of file