House of Fusion
Home of the ColdFusion Community

Search cf-newbie

October 08, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Subscribe Now
Fusion Authority Quarterly Update - ColdFusion 8 Special Edition
Search over 2,500 ColdFusion resources here  >>>      
Home / Groups / ColdFusion Newbie (CF-Newbie)

Search and Update Multiple files in a folder

Reply  |   Show Full Thread  |   RSS Feed  |   Subscribe to this Group
Author:
Nick G
02/27/2007 10:31 AM

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!


Mailing Lists