@if NOT EXIST setup.bat goto ERR1
call setup
call mdd temp
@if NOT EXIST ..\delete01.bat goto ERR2

genfile -l 50000 --file file1
genfile -l 1024 --file file2
%TEMPT% -cf archive file1 file2
%TEMPT% -f archive --delete file2
%TEMPT% -tf archive
@echo Should only list
@echo file1
@cd ..
@goto END

:ERR1
@echo Can NOT locate setup.bat ... check name, location ...
@goto END

:ERR2
@echo mdd.bat missing, or failed ... check name, location ...
@goto END

:END
