add a cleanup bach file
This commit is contained in:
parent
a51d9a8a69
commit
4b371a4bc7
23
test/html5/cleanup.bat
Normal file
23
test/html5/cleanup.bat
Normal file
|
@ -0,0 +1,23 @@
|
|||
@setlocal
|
||||
@set TMPCNT1=0
|
||||
@if EXIST tempout (
|
||||
@echo Cleaning and removing tempout folder...
|
||||
@cd tempout
|
||||
@del *.html >nul
|
||||
@del *.txt >nul
|
||||
@cd ..
|
||||
@rd tempout
|
||||
@set /A TMPCNT1+=1
|
||||
)
|
||||
|
||||
@if EXIST temp* (
|
||||
@echo Removing temp* file
|
||||
@del temp* >nul
|
||||
@set /A TMPCNT1+=1
|
||||
)
|
||||
|
||||
@if "%TMPCNT1%x" == "0x" (
|
||||
@echo Appears nothing to clean up!
|
||||
)
|
||||
|
||||
|
Loading…
Reference in a new issue