Search found 2 matches

by ppalkar
10 Jan 2013 04:47
Forum: DOS Batch Forum
Topic: FINDSTR: how to only display the searched strings?
Replies: 5
Views: 5419

Re: FINDSTR: how to only display the searched strings?

Try

FINDSTR "\<string\>" "path of file"

findstr \c:"string" "path of file"

i think this would work and solve your purpose. let me know if in case it doesn't work.

plz specify the full path of the file. :)