Created
May 28, 2019 07:21
-
-
Save 1saeedsalehi/50ebb7858eaabcc7c4a03540bc652e93 to your computer and use it in GitHub Desktop.
Delete bin obj node_modules folder from whole project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment