Re: Simple find and replace

Tech-Archive recommends: Fix windows errors by optimizing your registry



Grep for Windows
http://gnuwin32.sourceforge.net/packages/grep.htm

--
HTH,
Curt

Windows Support Center
www.aumha.org
Practically Nerded,...
http://dundats.mvps.org/Index.htm

"Bob Altman" <rda@xxxxxxxxxxxxx> wrote in message
news:%23tUQRkXzHHA.600@xxxxxxxxxxxxxxxxxxxxxxx
| Okey dokey... looks like my problem statement could use a little tweak.
| Let's try this:
|
| Is there anything baked into Windows that will let me do the same "find
and
| replace" operation on a bunch of files (a-la grep)?
|
| BTW, it turns out that I can use Visual Studio to do this (find all
| instances of a string in all files that match a wildcard specification,
and
| replace with another string), but I'm still curious if anything like this
is
| baked into Windows somewhere...
|
| - Bob
|
| "Bob I" <birelan@xxxxxxxxx> wrote in message
| news:ed4pvQXzHHA.3772@xxxxxxxxxxxxxxxxxxxxxxx
| > Open said file in Notepad, and have at it.
| >
| > Bob Altman wrote:
| >> Is there anything baked into Windows that will let me do a simple "find
| >> and replace" operation on strings in text files?
| >>
| >> TIA - Bob
| >
|
|


.



Relevant Pages

  • Looking for text inside files does not work at all
    ... for an ascii text string in a file. ... Hex-editing the file reveals that there is a string called "reloc" right ... So if text search (aka grep) worked, this should work too shouldn't it? ... That's how it worked in Windows 2000. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Find a line in a text file then print a field
    ... I had written a crude ksh script that grep'ed a line ... to do the same thing on Windows and perl seems like the right way to ... The perl grep function loops over list of strings you pass it. ...
    (perl.beginners)
  • Re: Flame Bait! Windows vs: The Unices
    ... >> consistancy of Windows (compared to UNIX) one of its strong points. ... But, in effect, Windows only runs on one platform,... ... Describing the *difference* between using grep in unix and using it ... just use an IDE and move on. ...
    (comp.programming)
  • Re: Data Mining for PIX Firewall Logs
    ... My response was not intended to imply that there was no other way to "grep" ... than with Cygwin. ... I am sure there is an open source grep for Windows. ... that tells me you are logging to a Windows machine. ...
    (Pen-Test)
  • Re: problem displaying strings in a text box
    ... Bob, Thanks for your reply. ... Why on Windows Server 2003 I don't have this problem (In this machine I ... > Find great Windows Forms articles in Windows Forms Tips and Tricks ... >> I have a text box that must display a string readed from a MSDE ...
    (microsoft.public.dotnet.framework.windowsforms.controls)