add a cleanup bach file

This commit is contained in:
Geoff McLane 2014-08-05 13:09:44 +02:00
parent a51d9a8a69
commit 4b371a4bc7

23
test/html5/cleanup.bat Normal file
View 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!
)