for /f "tokens=* delims= " %%a in ('dir /b/s D:\sba81\siebsrvr\log\*.log') do (
find "Error " < %%a >> Error.txt
I need to enhance this bach file such that "It should ignore the keywords i mention in the loop and output only the lines which are not containing the mentioned keywords in the loop"
I need to specify some 30 keywords in the loop to ignore if the batch file finds those words while searching files. Because those are ignorable errors. So it should ignore those words containing lines and it should copy all the lines which doesn't contain those keywords to the output file.
Please read clearly above requirement once again and give me enhanced solution for the batch file i have given on top.
thanks a lot in advance