From 4b371a4bc77c9c46df8e0c6622538de2d29c6882 Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Tue, 5 Aug 2014 13:09:44 +0200 Subject: [PATCH] add a cleanup bach file --- test/html5/cleanup.bat | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 test/html5/cleanup.bat diff --git a/test/html5/cleanup.bat b/test/html5/cleanup.bat new file mode 100644 index 0000000..785a330 --- /dev/null +++ b/test/html5/cleanup.bat @@ -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! +) + +