Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2971_named_intervals/Clean.cmd @ 17213

Last change on this file since 17213 was 17211, checked in by gkronber, 5 years ago

#2971: added clean script

File size: 622 bytes
Line 
1@ECHO OFF
2
3ECHO Clean starting...
4
5FOR /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
18IF EXIST bin (
19  ECHO Cleaning "bin" in current directory ...
20  RMDIR /S /Q bin
21)
22
23IF EXIST TestResults (
24  ECHO Cleaning "TestResults" in current directory ...
25  RMDIR /S /Q TestResults
26)
27
28ECHO Clean finished.
29
30PAUSE
Note: See TracBrowser for help on using the repository browser.