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
Search found 2 matches
- 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: 6930
- 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: 6930
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...