Just so you know, windows does have
grep. In addition to that, almost all windows boxes support VB Script and Jscript, so you could always write a simple search and replace script.
While this isn't exactly what you want, this is a simple search VB Script I wrote some time ago which might get you started in the right direction:
'Just copy code and save it in a .vbs file.
Set fs = CreateObject("Scripting.FileSystemObject")
aFolder = InputBox("Enter the folder you wish to search for a key phrase (not recursive)","","C:\Development\")
if(instr(Right(aFolder,1),"\")=0) then
aFolder = aFolder & "\"
end if
Phrase = InputBox("Enter the phrase to search for.","","hello world")
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFolder(aFolder)
Set fc = f.Files
For Each f1 in fc
if(lcase(right(f1.name,3))=".cs") then'filters out for c# files.
on error resume next
tmpData = SearchFile(aFolder & f1.name, lcase(Phrase))
if(err.number<>0) then
MsgBox "error with: " & f1.name
end if
on error goto 0
if(tmpData<>"") then
MsgBox "File: " & f1.name & vbNewLine & _
"Data: " & vbNewline & _
tmpData
end if
end if
Next
MsgBox "Done!"
'functions
Function SearchFile(File,Phrase)
Set f = fs.OpenTextFile(File,1,-2)
aWholeDoc = f.readAll
f.close
set f = nothing
Doc=ConvertToArray(Split(aWholeDoc,VbNewLine))
info=""
For i = 0 to UBound(Doc)
line = Doc(i)
if(instr(1,LCase(line),Phrase)>0) then
info=info & CStr(i+1) & " - " & line & vbnewline
end if
next
SearchFile = info
End Function
Function ConvertToArray(PossibleArray)
if(isArray(PossibleArray))then
ConvertToArray=PossibleArray
else
ConvertToArray=array(PossibleArray)
end if
End Function