I am looking for some examples of a .bat OR .wsh script that can do the following:
TIA.
EDIT:
Oops, I should clarify: there are two directories and two searches here.
Search 1:
Search 2:
So, if Search 1 finds foo.dll, foo2.dll and foo3.dll in Dir 1, Search 2 should look in Dir 2 for foo.dll, foo2.dll and foo3.dll, and provide a report (simple listing) of each found file.
Why not use dir?
Search current directory and all subdirs for dlls
dir /S *.dll
Search all of C for dlls
dir /S C:\*.dll
Save a report
dir /S C:\*.dll > report.txt