Skip to content

Instantly share code, notes, and snippets.

@carbonrobot
Created May 7, 2012 13:49
Show Gist options
  • Select an option

  • Save carbonrobot/2627868 to your computer and use it in GitHub Desktop.

Select an option

Save carbonrobot/2627868 to your computer and use it in GitHub Desktop.
Remove all bin and obj folders from a VS 2010 Solution
/* RUN FROM BAT FILE */
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"
/*
FROM: http://stackoverflow.com/questions/755382/i-want-to-delete-all-bin-and-obj-folders-to-force-all-projects-to-rebuild-everyt
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment