source:
branches/2839_HiveProjectManagement/Clean.cmd
@
17062
Last change on this file since 17062 was 14078, checked in by abeham, 8 years ago | |
---|---|
File size: 622 bytes |
Line | |
---|---|
1 | @ECHO OFF |
2 | |
3 | ECHO Clean starting... |
4 | |
5 | FOR /F "tokens=*" %%G IN ('DIR /AD /B') DO ( |
6 | FOR /F "tokens=*" %%T IN ('DIR /AD /B %%G') DO ( |
7 | IF EXIST "%%G\%%T\bin" ( |
8 | ECHO Cleaning "bin" in %%G in version %%T ... |
9 | RMDIR /S /Q "%%G\%%T\bin" |
10 | ) |
11 | IF EXIST "%%G\%%T\obj" ( |
12 | ECHO Cleaning "obj" in %%G in version %%T ... |
13 | RMDIR /S /Q "%%G\%%T\obj" |
14 | ) |
15 | ) |
16 | ) |
17 | |
18 | IF EXIST bin ( |
19 | ECHO Cleaning "bin" in current directory ... |
20 | RMDIR /S /Q bin |
21 | ) |
22 | |
23 | IF EXIST TestResults ( |
24 | ECHO Cleaning "TestResults" in current directory ... |
25 | RMDIR /S /Q TestResults |
26 | ) |
27 | |
28 | ECHO Clean finished. |
29 | |
30 | PAUSE |
Note: See TracBrowser
for help on using the repository browser.