[mw_shl_code=applescript,true]del /s *.hdb
del /s *.cdb
del /s *.tdf
del /s *.ddb
del /s *.qmsg
del /s *.hsd
del /s *.rdb
del /s *.ammdb
del /s *.bpm
del /s *.tdb
del /s *.hier_info
del /s *.db_info
del /s *.hif
del /s *.idb
del /s *.ipinfo
del /s *.kpt
del /s *.logdb
del /s *.sci
del /s *.syn_hier_info
del /s *.xml
del /s *.rpt
del /s *.wlf
del /s *.sdo
del /s *.vo
del /s *.xrf
del /s *.dbs
del /s *.psm
del /s *.qws
del /s *.sft
del /s *.qws
del /s *.sft
del /s *.qws
del /s *.sft
del /s *.qws
del /s *.sft
del /s JLinkLog.txt
del /s *.iex
del /s *.htm
del /s *.sct
del /s *.map
del /s *.bak
:: 删除db文件夹
REM for /f "delims=" %%i in ('dir db /ad /s /b') do @rd /s /q %%i rem 避免误删.svn里的
REM 删除incremental_db文件夹
for /f "delims=" %%i in ('dir incremental_db /ad /s /b') do @rd /s /q %%i
:::::::::::::::::::::::::::::::::::清理NIOS编译文件::::::::::::::::::::::::::::::::::::::
del /s .cproject REM 删除名叫.cproject的文件
del /s .project
del /s create-this-app
del /s *.objdump
del /s readme.txt
for /f "delims=" %%i in ('dir .settings /ad /s /b') do @rd /s /q %%i rem 删除文件夹
del /s .force_relink
for /f "delims=" %%i in ('dir obj /ad /s /b') do @rd /s /q %%i rem 删除文件夹
del /s Makefile
::=====================================================================================::
:::::::::::::::::::::::::::::清理Quartus编译及其他非代码文件:::::::::::::::::::::::::::::
del /s *.summary
del /s H0C50.done
for /f "delims=" %%i in ('dir .metadata /ad /s /b') do @rd /s /q %%i
for /f "delims=" %%i in ('dir greybox_tmp /ad /s /b') do @rd /s /q %%i
::=====================================================================================::[/mw_shl_code]