Home / Groups / ColdFusion Newbie (CF-Newbie)
Search and Update Multiple files in a folder
I have a 3 problems/questions. I have a folder called scripts which is located in
the following directory:
C:\Inetpub\wwwroot\serversites\scripts\
That folder contains a couple hundres text files. I need to write a script that
will open up the folder (or just know where to look), search through all the
files, find a certain word and replace that word with another. I have done this
using Perl but thats obviously a different flavor. Can someone tell me where I
should start off and what functions/tags I should consider using? Thanks for the
help!
|