Jump to content

Simple find and replace


Recommended Posts

Guest Bob Altman
Posted

Is there anything baked into Windows that will let me do a simple "find and

replace" operation on strings in text files?

 

TIA - Bob

  • Replies 7
  • Created
  • Last Reply
Guest Detlev Dreyer
Posted

Re: Simple find and replace

 

"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

Guest Bob I
Posted

Re: Simple find and replace

 

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

>

>

Guest Bob Altman
Posted

Re: Simple find and replace

 

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

>

Guest Gary S. Terhune
Posted

Re: Simple find and replace

 

Nope, not that I've ever located.

 

--

Gary S. Terhune

MS-MVP Shell/User

http://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

>>

>

>

Guest Richard
Posted

Re: Simple find and replace

 

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

Guest Curt Christianson
Posted

Re: Simple find and replace

 

Grep for Windows

http://gnuwin32.sourceforge.net/packages/grep.htm

 

--

HTH,

Curt

 

Windows Support Center

http://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

| >

|

|

Guest Ayush
Posted

Re: Simple find and replace

 

[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/


×
×
  • Create New...