Last active
July 2, 2019 06:36
-
-
Save caglartoklu/271ca2cead2846a3edbf448bb9c60410 to your computer and use it in GitHub Desktop.
Deletes "bin" and "obj" folders recursively from .NET projects.
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 Introduction to bin_cleaner.bat | |
REM Deletes "bin" and "obj" folders recursively from .NET projects. | |
REM This is a simple batch file to DELETE "bin" and "obj" folders | |
REM for Windows. | |
REM I use this to really "clean" .NET projects. | |
REM Usage | |
REM Copy this to the root of your solution folder. | |
REM Warning | |
REM Do not run this in your desktop or documents folder. | |
REM It will delete all the "bin" and "obj" folders under that folder | |
REM recuresively. | |
cd %~dp0 | |
REM Do you really want this? | |
REM Uncomment the "REM " section from the following line: | |
REM for /d /r . %%d in (bin,obj) do @if exist "%%d" rd /s/q "%%d" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment