Sunday, 24 February 2013

Delete Bin and Obj folders

Because I dont trust VS, save the following code as a “clean.bat” file in the root folder of your code:

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"

No comments:

Post a Comment