-
Notifications
You must be signed in to change notification settings - Fork 6
/
cleanup.bat
62 lines (47 loc) · 1.11 KB
/
cleanup.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
52
53
54
55
56
57
58
59
60
61
62
@echo off
cls
echo.
echo This will remove all build files
echo and Delphi history and temporary files.
echo Press CTRL+C now to abort, otherwise,
pause
echo Removing History Files...
SET EXT=~*
del *.%EXT% /S /Q /F >nul 2>&1
echo Removing dcu Files...
SET EXT=dcu
del *.%EXT% /S /Q /F >nul 2>&1
echo Removing bak Files...
SET EXT=bak
del *.%EXT% /S /Q /F >nul 2>&1
echo Removing identcache Files...
SET EXT=dentcache
del *.%EXT% /S /Q /F >nul 2>&1
echo Removing ddp Files...
SET EXT=ddp
del *.%EXT% /S /Q /F >nul 2>&1
echo Removing dsk Files...
SET EXT=dsk
del *.%EXT% /S /Q /F >nul 2>&1
echo Removing todo Files...
SET EXT=todo
del *.%EXT% /S /Q /F >nul 2>&1
echo Removing tvsconfig Files...
SET EXT=tvsconfig
del *.%EXT% /S /Q /F >nul 2>&1
echo Removing tvsconfig Files...
SET EXT=tmp
del *.%EXT% /S /Q /F >nul 2>&1
echo Removing local Files...
SET EXT=local
del *.%EXT% /S /Q /F >nul 2>&1
echo Removing log Files...
SET EXT=log
del *.%EXT% /S /Q /F >nul 2>&1
echo Removing err Files...
SET EXT=err
del *.%EXT% /S /Q /F >nul 2>&1
echo Removing identcache Files...
SET EXT=identcache
del *.%EXT% /S /Q /F >nul 2>&1
pause