1. @echo off
  2. @echo Deleting all BIN and OBJ folders...
  3. for /d /r . %%d in (bin obj) do @if exist "%%d" rd /s/q "%%d"
  4. @echo BIN and OBJ folders successfully deleted :) Close the window.
  5. pause > nul