添加 nas-delete.bat
This commit is contained in:
parent
fcf7e30d77
commit
2556c0c794
21
nas-delete.bat
Normal file
21
nas-delete.bat
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user