Last active
April 16, 2019 22:10
-
-
Save jonsagara/f8ccf21dde01bf82b4bb2d884ea34b6d to your computer and use it in GitHub Desktop.
Recursively remove bin, obj, packages, and node_modules directories
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
REM =============================================================================================== | |
REM Recursively remove bin, obj, packages, and node_modules directories. | |
REM =============================================================================================== | |
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S bin') DO RMDIR /S /Q "%%G" | |
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%%G" | |
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S packages') DO RMDIR /S /Q "%%G" | |
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S node_modules') DO RMDIR /S /Q "%%G" | |
echo Done. | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment