Saved Bookmarks
| 1. |
Solve : Finding and Replacing in a Batch File? |
|
Answer» HI, Its great to join you wonderful people, I feel it! I have a problem with my batch file. I have a text file in which I WANT to find and replace certain STRINGS using a DOS batch file. Its sort of given me jitters. Anybody with an IDEA? Look here http://garbo.uwasa.fi/pc/editor.html for texrep12.zip, the description follows: TEXREP is a program to make text replacement changes in a file without using an editor. It will work on any type file of any size replacing any character(s). Its DOS syntax is very easy to use. Every month or so I need a program to make changes in a text file that my editor can't easily handle. Or I want to make the same change in several files. Such programs exist, but they make a single change or ask you to build a table file which means you have to look at the documentation each time. TexRep has a simple syntax and a one page help screen (enter 'texrep' with no parameters), so the documentation shouldn't be needed often. It will also display an ASCII/numeric conversion table (enter y after the help screen). Hey, Johnwill, THANKS, it did the trck. No more jitters. Tried it on voluminous files, and pronto, it was cool bananas.Garbo is a good place for DOS utilities, DOS is NOT dead. |
|