Advertisement

02.05.2008 at 12:19PM PST, ID: 23139231
[x]
Attachment Details

Loop through files, search and replace text, save  - FSO?

Asked by meldraper in Active Server Pages (ASP), VB Script

Tags: ,

not sure how to search for this one.

I have a gazillion files in Forest Blog and I need to search <!--#include virtual="/Includes/ with <!--#include virtual="/Forest Blog/Includes/ with FSO?  Loop through the files, search for the text, replace with correct text, save.  I swear I used to have some code to do this but I can't find it.   all ASP files and I'd like to do it in ASP.

Many thanks in advance.Start Free Trial
 
Keywords: Loop through files, search and replac…
 
Loading Advertisement...
 
[+][-]02.05.2008 at 12:21PM PST, ID: 20826473

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Active Server Pages (ASP), VB Script
Tags: asp, vbscript, IE
Sign Up Now!
Solution Provided By: chilternPC
Participating Experts: 1
Solution Grade: B
 
 
[+][-]02.05.2008 at 12:22PM PST, ID: 20826477

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.05.2008 at 12:38PM PST, ID: 20826650

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628