Iam not sure if a batch file can be created like the way your looking for. But what i can suggest is that you can use Notepad++ .. Install it on a common folder. Paste all you Notepads into the installation folder so that when you open Notpad ++ application all the TXT files will be displayed in different tabs. You can try to find a line in all the txt as your looking for. this will create a summary.txt as well.