Advertisement
gocha

Clean VC++ temporary files

Feb 11th, 2014
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.41 KB | None | 0 0
  1. @rem Cleanup Visual C++ temporary files
  2.  
  3. @echo Clean Code directory (%DATE%)
  4. @pushd "%USERPROFILE%\Documents\Code"
  5. @if errorlevel 1 @goto err_make_clean
  6.  
  7. del /s *.obj
  8. del /s *.ncb
  9. del /s *.sdf
  10. del /s *.sbr
  11. del /s *.suo
  12. del /s *.tlog
  13. del /s *.ilk
  14. del /s *.pch
  15. del /s *.pdb
  16. del /s *.idb
  17.  
  18. @popd
  19. @goto finish_make_clean
  20.  
  21. :err_make_clean
  22. @rem @echo Directory error at Code cleanups>&2
  23.  
  24. :finish_make_clean
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement