@set TEMP1=templist.txt
@set TEMP2=tempam.txt
@echo Beign of LIST > %TEMP2%
@for /F "tokens=1" %%i in (%TEMP1%) do @(call :CHKIT %%i)
@goto END

:CHKIT
@echo %1 ...
@if "%1x" == "x" goto :EOF
@if NOT EXIST %1 goto MISSED
@echo ==================================== >> %TEMP2%
@echo %1 >> %TEMP2%
@echo ==================================== >> %TEMP2%
@type %1 >> %TEMP2%
@goto :EOF

:MISSED
@echo This file %1 is MISSING???
@goto :EOF

:END
