Rev | Line | |
---|
[7807] | 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 (
|
---|
[7813] | 7 | IF EXIST "%%G\%%T\bin" (
|
---|
[7807] | 8 | ECHO Cleaning "bin" in %%G in version %%T ...
|
---|
| 9 | RMDIR /S /Q "%%G\%%T\bin"
|
---|
| 10 | )
|
---|
[7813] | 11 | IF EXIST "%%G\%%T\obj" (
|
---|
[7807] | 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.