REM This batch file deletes only the files that are created as part of the build process.
REM However, it does NOT delete the .exe file (if present).
if not exist *.opensdf goto OK
@echo Error: please close Visual Studio before executing this batch file!
@echo (Otherwise, the .sdf file cannot be deleted.)
pause
goto END
:OK
del /s *.ncb
del /ah *.suo
del /s *.user
del /s *.obj
del /s *.pch
del /s *.ilk
del /s *.idb
del /s *.pdb
del /s *.bsc
del /s *.sbr
del /s *.sdf
del /s *.tlog
del /s *.ipch
del /s *.log
del /s *.cache
del /s *.lastbuildstate
rd /s /q Debug
rd /s /q Release
rd /s /q ipch
:END
