Deleting bin, obj and Logs folders (edit)

@echo Deleting all BIN and OBJ folders…
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 Logs') DO RMDIR /S /Q "%%G"
@echo BIN and OBJ folders successfully deleted

Tham khảo https://stackoverflow.com/questions/755382/i-want-to-delete-all-bin-and-obj-folders-to-force-all-projects-to-rebuild-everyt

Deleting All BIN & OBJ Folders in a Visual Studio Solution

https://medium.com/volosoft/deleting-all-bin-obj-folders-in-a-solution-93e401372e69