Search found 2 matches

by goreilly
30 Aug 2011 12:09
Forum: DOS Batch Forum
Topic: replace a string in a file and then save file with new name
Replies: 4
Views: 6963

Re: replace a string in a file and then save file with new n

Responders:
Thank you so much. I downloaded sed and ran the suggested programs, and they did the trick most effectively.
Save me a lot of time struggling with dos stuff.
Gerry :D :D
by goreilly
29 Aug 2011 07:33
Forum: DOS Batch Forum
Topic: replace a string in a file and then save file with new name
Replies: 4
Views: 6963

replace a string in a file and then save file with new name

Hello, I'm a newbee. Simple question. How do I open a text file, find a particular string, replace that string with another string, and then save the file with a new name. So far, I can find the string in a file using the find command, but then I don't know how to replace the string in that file. Th...