-
Notifications
You must be signed in to change notification settings - Fork 0
/
清理项目垃圾.bat
28 lines (28 loc) · 927 Bytes
/
清理项目垃圾.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
del *.map /S>>logs.txt>logs.txt
del *.trg /S>>logs.txt
del *.tlb /S>>logs.txt
del *.sym /S>>logs.txt
del *.vxd /S>>logs.txt
del *.386 /S>>logs.txt
del *.exp /S>>logs.txt
del *.pel /S>>logs.txt
del *.rsp /S>>logs.txt
del *.res /S>>logs.txt
del *.pdb /S>>logs.txt
del *.pch /S>>logs.txt
del *.sbr /S>>logs.txt
del *.bsc /S>>logs.txt
del *.plg /S>>logs.txt
del *.ncb /S>>logs.txt
del *.opt /S>>logs.txt
del *.aps /S>>logs.txt
del *.tmp /S>>logs.txt
del *.ilk /S>>logs.txt
del *.idb /S>>logs.txt
del *.sup /S>>logs.txt
del *.tlh /S>>logs.txt
del *.tli /S>>logs.txt
@for /F "delims=" %%i in ('dir *.obj /S /B^|find "\Release\"') do del "%%i">>logs.txt
@for /F "delims=" %%i in ('dir *.obj /S /B^|find "\Debug\"') do del "%%i">>logs.txt
@for /f "delims=" %%i in ('dir /S /B /AD^|find "\Release"' ) do rd /q "%%i">>logs.txt
@for /f "delims=" %%i in ('dir /S /B /AD^|find "\Debug"' ) do rd /q "%%i">>logs.txt