Wife/Girlfriend/Sister?
Pepper Spray &
Stun Gun Specials!
KEEP THEM SAFE.
 CoverYourASP --> Walking through server folders and files --> Part 5

Free membership

Join in the fun! Sign in
Member Services

Site navigation
Download the entire site!
Search my articles
Free Magazines
Browse the directory

Send me feedback
Buy my boxer shorts

Recommend this page
Printer-friendly page

Resources I recommend
Link to my site
Advertising slashed!
About your privacy
Legal stuff
Site statistics
12 active users
175 visitors today
261 pages today
(only part of today)
Tools I use

CoverYourASP
Copyright © 1999-2012 James Shaw.
All rights reserved.

ASP.NET Blog
RSS submissions
E-commerce

Now open source with SourceForge!

As promised, here is the code in action, live. Everybody that views this page runs the WalkFolders( ) function, and that is what is displaying the results below.

You can see how the notification functions I used here just display the names, and use the nLevel value to indent the sub-folders and files.

My search (coming soon) uses the same method with different functions that actually index the content in the files.

Folder "WalkFolders":

      test.asp
      test2.asp
      test3.asp

      Folder "Empty":

      Folder "LastOne":

            Folder "(Almost)":

                  test.asp

      Folder "SubFolder1":

            test.asp
            test2.asp

Featured sponsor
My favorite resources


I share my content

Supporting ASPRSS

Do you need a quick and easy way to link to my articles? All the information you need is published with ASPRSS...


Qualify for Free Trade Magazines

Free subscriptions to industry leading publications for those who qualify!