Skip to content

Instantly share code, notes, and snippets.

@jonsagara
Last active April 16, 2019 22:10
Show Gist options
  • Save jonsagara/f8ccf21dde01bf82b4bb2d884ea34b6d to your computer and use it in GitHub Desktop.
Save jonsagara/f8ccf21dde01bf82b4bb2d884ea34b6d to your computer and use it in GitHub Desktop.

Revisions

  1. jonsagara renamed this gist Apr 16, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. jonsagara created this gist Apr 8, 2019.
    11 changes: 11 additions & 0 deletions removebinobj.bat
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    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