1
@echo Delete the MSVC7 or MSVC8 soultion files ...
2
@echo *****************************************************
3
@echo ARE YOU SURE YOU WANT TO DO THIS? Ctrl+C to ABORT ...
4
@echo *****************************************************
6
@echo Deleting SOLUTION files ...
7
@if EXIST *.sln del *.sln > nul
8
@if EXIST *.vcproj del *.vcproj > nul
9
@if EXIST *.old echo Deleting *.old ...
10
@if EXIST *.old Del *.old > nul
11
@if EXIST *.bak echo Deleting *.bak ...
12
@if EXIST *.bak Del *.bak > nul
13
@if NOT EXIST temp*.* goto dntmp
14
@echo Delete temp*.* ...
17
@if NOT EXIST *.obj goto dnobj
18
@echo Delete *.obj ...
21
@if NOT EXIST *.err goto dnerr
22
@echo Delete *.err ...
25
@if NOT EXIST *.pdb goto dnpdb
26
@echo Delete *.pdb ...
29
@if NOT EXIST *.lst goto dnlst
30
@echo Delete *.lst ...
33
@if EXIST *.pch echo Deleting *.pch ...
34
@if EXIST *.pch Del *.pch > nul
35
@if EXIST *.ilk echo Deleting *.ilk ...
36
@if EXIST *.ilk Del *.ilk > nul
37
@if EXIST *.NCB echo Deleting *.NCB ...
38
@if EXIST *.NCB Del *.NCB > nul
39
@if EXIST *.plg echo Deleting *.plg ...
40
@if EXIST *.plg Del *.plg > nul
41
@if EXIST *.OPT echo Deleting *.OPT ...
42
@if EXIST *.OPT Del *.OPT > nul
43
@if EXIST *.idb echo Deleting *.idb ...
44
@if EXIST *.idb Del *.idb > nul
45
@if EXIST *.aps echo Deleting *.aps ...
46
@if EXIST *.aps Del *.aps > nul
47
@if EXIST *.sbr echo Deleting *.sbr ...
48
@if EXIST *.sbr Del *.sbr > nul
49
@if NOT EXIST *.suo goto DNSUO
50
@attrib -S -R -H *.suo > nul
51
@if EXIST *.suo echo Deleting *.suo ...
52
@if EXIST *.suo Del *.suo > nul
54
@if EXIST *.user echo Deleting *.user ...
55
@if EXIST *.user Del *.user > nul