Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 631f9c2

Browse files
authored
chore(Tools): add delete-bin tools (#6765)
1 parent 13473b2 commit 631f9c2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

delete-bin.cmd

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
@ECHO off
2+
cls
3+
4+
ECHO Deleting all BIN and OBJ folders...
5+
ECHO.
6+
7+
FOR /d /r . %%d in (bin,obj) DO (
8+
IF EXIST "%%d" (
9+
ECHO %%d | FIND /I "\node_modules\" > Nul && (
10+
ECHO.Skipping: %%d
11+
) || (
12+
ECHO.Deleting: %%d
13+
rd /s/q "%%d"
14+
)
15+
)
16+
)
17+
18+
ECHO.
19+
ECHO.BIN and OBJ folders have been successfully deleted. Press any key to exit.
20+
pause > nul

0 commit comments

Comments
 (0)