tidy-html5/test/html5/cleanup.bat

24 lines
325 B
Batchfile
Raw Normal View History

2014-08-05 11:09:44 +00:00
@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!
)