Displaying Sub Folders

Following example displays all sub folders in current folder. We will use sub folders property of file system Object for this source code.

Sponsored Links:

Related Topics

Simple Table Display With Where Clause (Hard Coded)
Displaying specific subsets of data from a database is easy to accomplish in .asp. The following example utilizes our Access database of Mark "The Bird" Fidrych and displays all of his season statistics for 1976 contained in the database rather than displaying the entire db.

Displaying the contents of files on the server
In this tutorial will teach you how to Displaying the contents of files on the server.

Displaying Images ( binary data ) from the Database
This tutorial will teach you how to Displaying Images ( binary data ) from the Database.

Displaying Images ( binary data ) from the Database
This article about displaying binary data ( images ) from the database.

File Uploading with ASP.
This article is number three in a series of articles I wrote about uploading and displaying binary data with ASP. The first article was about Uploading binary data to the database, second was on Displaying binary data from the database and the third one ( this one ) is going to be on 'Uploading files to the server hard disk using pure ASP'.

FileSystemObject Object
The FileSystemObject object provides access to the file system on the web server, allowing us to manipulate text files, folders and drives from within our code.

Two Table Join
Outputting data from two tables is almost as easy as displaying from one. The example, in this tutorial, utilizes two tables with state information on them.

Working with Drives, Folders and Files in ASP
In this article we'll learn how to get hold of Drives collection which FileSystemObject provides us, then we'll use this handle to display a list of all drives connected to our computer with their detailed info. These drives may be fixed hard disks, removable drives like floppy drives, CD-ROM drives or even network drives.

Displaying the Current Date and Time
The date and time described in this section are those that are on the server.

An SMTP Service Directory Reader
This script will let you take a peek at the messages in the mailroot folders. This includes the ones that the SMTP service hasn't delivered yet and even those it's already given up on so you can see what's happening.Source code for the SMTP reader available.

Display Image From Database
It is possible to store images in a database using a number of third party tools or a custom built component. Once you have the images stored in your database, however, displaying them requires the use of a simple ASP page.

Reading a Database
Learn how to display data from a Database.Displaying data from a database is one of the most common uses of ASP.

Displaying Records From An Excel Database
Aim of this articles is to display records from an Microsoft Excel in an ASP. We could use general SQL command while retreving data from an excel sheet. All we need to know how to connect Excel file.

Copying Folders (using File System Object)
If you want to copy some foldes to another folder, first create a File System Object. CopyFolder method will help you to copy folder ot another folder.

Displaying Records Using Stored procedure
We will get results form a table using stored procedure. Stored procedures work faster and increase the performance. Stored procedures stored at SQL servers and we can call them in an ASP file.

Displaying foreign keys as list boxes
This tutorial explains how to turn those foreign keys into list boxes automatically.

Searching Drives, Viewing and Downloading Files
This article illustrates some great uses of the File System Object. It shows how to choose a drive to search, and then builds a listbox of all the folders on that drive. Choose a folder and it builds a listbox of all the files in that folder. Choose a File and it will display it in the browser or prompt you to save the file to your hard drive.

Display Table Script Writer
Displaying an Access or SQL Server database is as easy as entering the variable names and the name of the table into the fields below. Copy the output code into an asp document on your web server and your db is ready to be displayed on the web. The DSN connection requires that you register the DSN for the db prior to executing the code.

Displaying an RSS Feed
This tutorial will walk you through adding dynamic content from an RSS 2.0 data feed. RSS is a XML format for syndicating news content, web site updates, and blogs. Learn how to add this content to your web site with ASP.

Date Dependent Content
Displaying content depending on what the current date value is a powerful and effective tool that adds value to any website. Whether it is to showcase a limited time offer, or to "automatically" update pages with new content while you're miles away. The following code repeats the process to three times to demonstrate the full effects of date dependent content.