House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Newbie (CF-Newbie)

Search and Update Multiple files in a folder

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!


Search cf-newbie

June 20, 2013

<<   <   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             

Designer, Developer and mobile workflow conference