Search Exact string in bat file

February 20, 2009 at 09:42:22
Specs: Windows XP, 3.8GHz / 3326 MB
hi, i want to make a bat file which will search through the text file, and find a particular word, eg bend
but in my text file, there is another word called: bending which i don't want it to be found

is the a way to make the batch file to search only bend, and return sth, but not bending?

i've tried:
find "bend" mylog.txt

but this will return bending as well....

Thank You


See More: Search Exact string in bat file

Report •


#1
February 20, 2009 at 09:46:36
findstr "\<bend\>" mylog.txt

Report •

#2
February 20, 2009 at 09:50:07
thz klint, it solved the problem

Report •

Related Solutions


Ask Question