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

genfile -l 1024 -f en
genfile -l 1024 -f to
%TEMPT% cf archive en to
@REM # Make sure we don't use bogus blocking factor.
@REM # GNU tar up to and including 1.14.91 produced an empty archive this way:
%TEMPT% --file archive --blocking-factor=20 --delete tre
%TEMPT% tf archive
@echo Should see results ...
@echo tar: tre: Not found in archive
@echo tar: Error exit delayed from previous errors
@echo en
@echo to
@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
