Article ID: 218606 - Last Review: July 7, 2008 - Revision: 6.2 How To Use ASP and Scripting.FileSystemObject to Create a Dynamic Table of Contents Page
This article was previously published under Q218606 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: http://www.microsoft.com/technet/security/prodtech/IIS.mspx
(http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
For more information about IIS 7.0, visit the following Microsoft Web site: http://www.iis.net/
(http://www.iis.net/)
On This PageSUMMARY This step-by-step article shows an example of how to use an
Active Server Page (ASP) to create a dynamic table of contents for a Web site
that is updated frequently. Active Server Pages makes it easier to keep Web
sites up to date without having to manually update a contents page.
Create a Table of ContentsMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. The following ASP code is designed to create a table of contents from the files that are listed in the "docs" subfolder. To use this example, copy the ASP code in to a file, and then save the file as contents.asp in a folder that has at least "Script" access. To change the location of the folder to display, change the line of code that defines the strDocsPath variable.REFERENCES For more information about Microsoft Scripting
Technologies, visit the following Microsoft Web site: http://msdn2.microsoft.com/en-us/library/ms950396.aspx
(http://msdn2.microsoft.com/en-us/library/ms950396.aspx)
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
