chore(Tools): add delete-bin tools (#6765)

This commit is contained in:
Argo Zhang
2025-09-20 14:39:22 +08:00
committed by GitHub
parent 13473b2303
commit 631f9c2bc1

20
delete-bin.cmd Normal file
View File

@@ -0,0 +1,20 @@
@ECHO off
cls
ECHO Deleting all BIN and OBJ folders...
ECHO.
FOR /d /r . %%d in (bin,obj) DO (
IF EXIST "%%d" (
ECHO %%d | FIND /I "\node_modules\" > Nul && (
ECHO.Skipping: %%d
) || (
ECHO.Deleting: %%d
rd /s/q "%%d"
)
)
)
ECHO.
ECHO.BIN and OBJ folders have been successfully deleted. Press any key to exit.
pause > nul