删除IAR编译产生的文件批处理
如下:
echo off
set ROOT_PATH=%~dp0
set PRJ_PATH=%ROOT_PATH%Examples\SPI\sc16is750_polling\
echo -
echo Please check the path wether is right.
echo %ROOT_PATH%
echo %PRJ_PATH%
echo pause
cd Examples\UART\Polling\EWARM\Flash\Exe
DEL /F/S/Q *.sim
cd %ROOT_PATH%
cd %PRJ_PATH%\EWARM\Flash\List
DEL /F/S/Q *.map
cd %ROOT_PATH%
cd %PRJ_PATH%\EWARM\Flash\Obj
DEL /F/S/Q *.o
DEL /F/S/Q *.pbi
DEL /F/S/Q *.xcl
DEL /F/S/Q *.pbd
DEL /F/S/Q *.browse
DEL /F/S/Q *.linf
DEL /F/S/Q *.pbw
cd %ROOT_PATH%
cd %PRJ_PATH%\EWARM\settings
DEL /F/S/Q *.wsdt
DEL /F/S/Q *.dbgdt
DEL /F/S/Q *.dnx
cd %ROOT_PATH%
cd %PRJ_PATH%\EWARM
DEL /F/S/Q *.dep
cd %ROOT_PATH%
cd vs
DEL /F/S/Q *.ncb
attrib -h *.suo
DEL /F/S/Q *.suo
cd %ROOT_PATH%
cd vs\vs
rd /S/Q Debug
DEL /F/S/Q *.user
cd %ROOT_PATH%
timeout /t 15