aspx_beginners thread: adding an include statement to MANY pages in a single folder.
OK
Here's what I wanna do. I have a file called token.asp. I want to use an
include statement at the top of about 250 pages to call the file. These
pages are in a folder in my website. Using frontpage I could add this line
by doing a REplace. Unfortunately this would find ever instance in the
whole site and all I want are the ones in this directory (folder) any ideas
ion another way to add it?
Thanks
Sean E. Eddington
Lab Technician
Office of Information Technology
Northern Kentucky University
Office phone: xxx-xxx-xxxx
Fax: xxx-xxx-xxxx
Eddingtons@n...
"Peace Be The Journey"
If you have something to replace, then your easiest answer would be to use a
WSH script. Instantiate a FileSystemObject object and use that to grab the
Folder object of the folder that contains the files you're concerned with.
Loop through each file and perform your replace.
=================================
Kyle M. Burns, MCSD
ECommerce Technology Manager
Centra Credit Union
kburns@c...
-----Original Message-----
From: Sean Eddington [mailto:eddingtons@e...]
Sent: Tuesday, September 25, 2001 1:36 PM
To: aspx_beginners
Subject: [aspx_beginners] adding an include statement to MANY pages in a
single folder.
OK
Here's what I wanna do. I have a file called token.asp. I want to use an
include statement at the top of about 250 pages to call the file. These
pages are in a folder in my website. Using frontpage I could add this line
by doing a REplace. Unfortunately this would find ever instance in the
whole site and all I want are the ones in this directory (folder) any ideas
ion another way to add it?
Thanks
Sean E. Eddington
Lab Technician
Office of Information Technology
Northern Kentucky University
Office phone: xxx-xxx-xxxx
Fax: xxx-xxx-xxxx
Eddingtons@n...
"Peace Be The Journey"
$subst('Email.Unsub')