Cursing windows for don’t have egrep like text searching facility,just use findstr.
Findstr command searches for pattern of text in files using regular expression.
For eg findstr “kuldeep*” kuldeep.txt( for searching in kuldeep.txt).
Findstr command have many parameters ,check the detailed documentation on
Windows XP professional product documentation