Oh and not listed.
Set archive=C:\ArchiveFiles.TXT
if exist ArchiveExist.txt del ArchiveExist.txt
if exist ArchiveDoesNotExist.txt del ArchiveDoesNotExist.txt
if exist NotInArchive.txt del NotInArchive.txt
for /f "tokens=*" %%a in ('type "%archive%"') do (
if exist "%%a" (
Echo %%a>>ArchiveExist.txt
) else (
Echo %%a>>ArchiveDoesNotExist.txt
)
)
for /r "C:\Archive" %%a in (*.*) do (
find /i "%%a" "%archive%"
if errorlevel 1 ECHO %%a>>NotInArchive.txt
)