-
Notifications
You must be signed in to change notification settings - Fork 2
/
CleanExamples.bat
51 lines (44 loc) · 1.12 KB
/
CleanExamples.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
echo off
del *.exe /s
del *.scr /s
del *.ppu /s
del *.ldp /s
del *.ppu /s
del *.o /s
del *.~* /s
del *.log /s
del *.dsk /s
del *.dof /s
del *.bk? /s
del *.mps /s
del *.rst /s
del *.s /s
del *.a /s
del *.map /s
del *.rsm /s
del *.drc /s
del *.local /s
del *.dproj /s
rem delete more files
del *.bak /s
del *.dbg /s
del *.xml /s
del *.identcache /s
del *.otares /s
del *.tvsconfig /s
del *.db /s
echo _
echo ************************************************
echo Don't delete some files
echo ************************************************
echo _
rem del *.res /s
rem del *.ico /s - some projects have own icos
rem del *.obj /s - obj models and resources for lazarus
rem del *.cfg /s - there are quake's animations
echo --------------------------------------------------------
echo delete directories with subdirectories and files
echo---------------------------------------------------------
for /r %1 %%R in (backup) do if exist "%%R" (rd /s /q "%%R")
for /r %1 %%R in (lib) do if exist "%%R" (rd /s /q "%%R")
for /r %1 %%R in (bin) do if exist "%%R" (rd /s /q "%%R")