I am using findstr to search an string in some file and redirecting the search result to another txt file but need to omit the searched file name added in results.
My batch file has :- findstr /s "TEST" subfolder/test.dat > output.txt
and the result of output.txt with the filename test.dat(which I need to remove):-
subfolder/test.dat:2014-04-15;TEST TECHNOLOGY LTD
Same kind of question has been asked here. But in my case I am not using any wildcards. Please help.