Posted on 1998-01-06
Sorry for the Unix Peeps, But there is no Dos section!!!
I'm trying out a new dos editor called 'E' (think it comes with an old version of dos), to change a number of asci based files in one batch.
So far I can open all the files and run a macro on them that it looks for the old string and replaces it with the new string. It then saves the files and opens up the next file. I then however have to run the macro on that file, and again on every other file in the group because I do not know how to loop the macro so that when it opens the next file, it runs from the start again....
Heres the macro so far - (the files are already open)
change /old/new/c a *
cntrl + N (moves to next file)
And thats it - i cant seem to find a command that will loop the macro and so run it on every file in the ring.
Please help - either that or suggest a new (pref shareware) editor that can do batch editing easily!!