-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpclean.bat
47 lines (37 loc) · 963 Bytes
/
pclean.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
:: $Id: pclean.bat 6961 2019-03-12 16:36:31Z onuchin $
:: Author: Valeriy Onuchin 17.02.2016
::
:: Clean output folders
for /D /R %%i in (bin*) do (rd /s /q "%%i")
for /D /R %%i in (obj) do (rd /s /q "%%i")
for /D /R %%i in (redist*) do (rd /s /q "%%i")
for /D /R %%i in (debug*) do (rd /s /q "%%i")
for /D /R %%i in (release*) do (rd /s /q "%%i")
for /D /R %%i in (precompiledweb*) do (rd /s /q "%%i")
for /D /R %%i in (x64*) do (rd /s /q "%%i")
::for /D /R %%i in (_ReSharper*) do (rd /s /q "%%i")
:: Clean generated files
attrib /s -r -h -s *.suo
attrib /s -r -h -s Thumbs.db
del /s /q Redist\*.dll
del /s /q _Re*
del /s /q *.aps
del /s /q *_h.h
del /s /q *.ncb
del /s /q *.sln.cache
::del /s /q *.user
::del /s /q *.DotSettings
del /s /q Thumbs.db
del /s /q *.suo
del /s /q *.pch
del /s /q *.opt
del /s /q *.plg
del /s /q *.bsc
del /s /q *.bak
del /s /q *.pdb
del *.exp /s /q
del *.ilk /s /q
del *.idb /s /q
del *.aps /s /q
::del *.o /s /q
pause