tidy-html5/test/html5/html4/cleanup.bat
2014-11-22 15:42:28 +08:00

24 lines
349 B
Batchfile

@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 temphtml4.cfg (
@echo Removing temphtml4.cfg file
@del temphtml4.cfg >nul
@set /A TMPCNT1+=1
)
@if "%TMPCNT1%x" == "0x" (
@echo Appears nothing to clean up!
)