-
Notifications
You must be signed in to change notification settings - Fork 13
/
flush.cmd
42 lines (32 loc) · 1.61 KB
/
flush.cmd
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
@echo off
rmdir ConsoleServer /s /q
for /R %%i in (.) do rmdir "%%i\Debug" /s /q
for /R %%i in (.) do rmdir "%%i\Release" /s /q
for /R %%i in (.) do rmdir "%%i\obj" /s /q
for /R %%i in (.) do rmdir "%%i\obj.SL" /s /q
for /R %%i in (.) do rmdir "%%i\obj.SL4" /s /q
for /R %%i in (.) do rmdir "%%i\obj.SL5" /s /q
for /R %%i in (.) do rmdir "%%i\obj.WinRT" /s /q
for /R %%i in (.) do rmdir "%%i\obj.Desktop" /s /q
for /R %%i in (.) do rmdir "%%i\bin" /s /q
for /R %%i in (.) do rmdir "%%i\bin.SL" /s /q
for /R %%i in (.) do rmdir "%%i\bin.SL4" /s /q
for /R %%i in (.) do rmdir "%%i\bin.SL5" /s /q
for /R %%i in (.) do rmdir "%%i\bin.WinRT" /s /q
for /R %%i in (.) do rmdir "%%i\bin.Desktop" /s /q
for /R %%i in (.) do rmdir "%%i\TestShadowCopy" /s /q
for /R %%i in (.) do rmdir "%%i\TestResults" /s /q
for /R %%i in (.) do rmdir "%%i\ClientBin" /s /q
for /R %%i in (.) do rmdir "%%i\packages" /s /q
REM FOR /F "tokens=*" %%G IN ('DIR /B /S /AH *.suo') DO del "%%G" /AH
REM FOR /F "tokens=*" %%G IN ('DIR /B /S *.user') DO del "%%G"
FOR /F "tokens=*" %%G IN ('DIR /B /S *.gpState') DO del "%%G"
FOR /F "tokens=*" %%G IN ('DIR /B /S *.xap') DO del "%%G"
FOR /F "tokens=*" %%G IN ('DIR /B /S DebugLog*') DO del "%%G"
FOR /F "tokens=*" %%G IN ('DIR /B /S *.bak.*.orm') DO del "%%G"
FOR /F "tokens=*" %%G IN ('DIR /B /S *.incr') DO del "%%G"
REM FOR /F "tokens=*" %%G IN ('DIR /B /S *.pdb') DO del "%%G"
FOR /F "tokens=*" %%G IN ('DIR /B /S *.aqt') DO del "%%G"
FOR /F "tokens=*" %%G IN ('DIR /B /S *.msi') DO del "%%G"
FOR /F "tokens=*" %%G IN ('DIR /B /S *.tmp') DO del "%%G"
FOR /F "tokens=*" %%G IN ('DIR /B /S *.sdf') DO del "%%G"