Simple find and replace

  • Thread starter Thread starter Bob Altman
  • Start date Start date
B

Bob Altman

Is there anything baked into Windows that will let me do a simple "find and
replace" operation on strings in text files?

TIA - Bob
 
"Bob Altman" <rda@nospam.nospam> wrote:

> Is there anything baked into Windows that will let me do a simple "find
> and replace" operation on strings in text files?


Start > Run: Notepad
Start > Run: Wordpad
Start > Run: CMD > Edit

--
d-d
 
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
>
>
 
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@yahoo.com> wrote in message
news:ed4pvQXzHHA.3772@TK2MSFTNGP06.phx.gbl...
> 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

>
 
Nope, not that I've ever located.

--
Gary S. Terhune
MS-MVP Shell/User
www.grystmill.com

"Bob Altman" <rda@nospam.nospam> wrote in message
news:%23tUQRkXzHHA.600@TK2MSFTNGP05.phx.gbl...
> 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@yahoo.com> wrote in message
> news:ed4pvQXzHHA.3772@TK2MSFTNGP06.phx.gbl...
>> 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

>>

>
>
 
On Jul 23, 6:30 pm, "Bob Altman" <r...@nospam.nospam> wrote:
> 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" <bire...@yahoo.com> wrote in message
>
> news:ed4pvQXzHHA.3772@TK2MSFTNGP06.phx.gbl...
>
> > 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


There is a windows-version of grep. Google for it.

HTH,
Richard
 
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@nospam.nospam> wrote in message
news:%23tUQRkXzHHA.600@TK2MSFTNGP05.phx.gbl...
| 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@yahoo.com> wrote in message
| news:ed4pvQXzHHA.3772@TK2MSFTNGP06.phx.gbl...
| > 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
| >
|
|
 
[Bob Altman] wrote-:
> 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...


Use WSH:
microsoft.public.scripting.vbscript
microsoft.public.scripting.jscript
microsoft.public.scripting.wsh

Good Luck, Ayush.
--
Google Groups: http://groups.google.com/
 
Back
Top