I have about 100 text files that contain a particilular string that I need to replace. Simpleminded that I am, what I did was open a file, read each line, search the line for the string and replace it, write the revised line to another file until a new text file is built, then replace the old text file with the newly written one. I'm almost sure this is taking the long way around so I was wondering if there is another way I can do it without going through all that process. I tried writing dir