I use findstr to search and output my search to another txt file but need to omit the filename, can anyone help pls? Thanks in advance!
My current batch file :- findstr "TEST" *.dat > output.txt
and the result of output.txt with all the filename Doc*.dat(which I need to remove):-
Doc (1).dat:2014-04-15;TEST TECHNOLOGY LTD
Doc (10).dat:2014-04-29;TEST TECHNOLOGY LTD
Doc (11).dat:2014-04-30;TEST TECHNOLOGY LTD
Doc (12).dat:2014-05-02;TEST TECHNOLOGY LTD
Doc (13).dat:2014-05-05;TEST TECHNOLOGY LTD
Doc (14).dat:2014-05-06;TEST TECHNOLOGY LTD
Best Regards, W