12 lines
324 B
Batchfile
12 lines
324 B
Batchfile
|
::删除所有bin与obj下的文件
|
||
|
@echo off
|
||
|
set nowpath=%cd%
|
||
|
cd \
|
||
|
cd %nowpath%
|
||
|
::delete specify file(*.pdb,*.vshost.*)
|
||
|
for /r %nowpath% %%i in (*.pdb,*.vshost.*) do (del %%i && echo delete %%i)
|
||
|
|
||
|
::delete specify folder(obj,bin)
|
||
|
for /r %nowpath% %%i in (obj,bin) do (IF EXIST %%i (RD /s /q %%i && echo delete %%i))
|
||
|
|
||
|
pause
|