Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: find and replace text using a batch file  (Read 8722 times)

0 Members and 1 Guest are viewing this topic.

meiben2000

  • Guest
find and replace text using a batch file
« on: June 28, 2004, 12:58:22 PM »
Hi all,
I'm using a batch file to copy a series of files.  Is it possible to use a "find and replace" type of command to find a string of text in a .txt file and replace it with a new string?  If so, what is the best way to go about this?

TIA
Matt  

willsort

  • Guest
Re: find and replace text using a batch file
« Reply #1 on: June 30, 2004, 06:25:48 AM »
use edlin.exe

meiben2000

  • Guest
Re: find and replace text using a batch file
« Reply #2 on: June 30, 2004, 07:52:47 AM »
Thank you.  

I can get it to work thru the command prompt but when I try it in a .bat file it pauses at the * prompt.

Any suggestions?