I have multiple text files in folder in which there is row start from "Total"
I want batch file which get all row of file start from Total in one file also start from file name
file in folder c:\text\ file name 1.txt, 2.txt,3.txt.....so on
result required in seprate file save auto as summary.txt in same foleder.
file name total
Batch file to get perticular row from multiple text file in folder
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.
shabbir like this