Add to Favorites    Make Home Page 594 Online  
 Language Categories  
 Our Services  

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies


  • ASP » Tips and Tutorials » File Manipulation » Displaying Sub Folders

    A D V E R T I S E M E N T

    Today's Special: Get free Magazine from SAP!

    Search Projects & Source Codes:



    Title Displaying Sub Folders
    Platform WinNT/2000/2003
    Price Free
    Author Visit Author Website
    Website Visit Website of - Displaying Sub Folders
    Category ASP » Tips and Tutorials » File Manipulation
    Hits 249
    Description Following example displays all sub folders in current folder. We will use SubFolders property of FileSystem Object for this source code. First we will find our current path using System.MapPath.

    A D V E R T I S E M E N T




    Google Groups Subscribe to SourceCodesWorld - Techies Talk
    Email:

    Free eBook - Interview Questions: Get over 1,000 Interview Questions in an eBook for free when you join JobsAssist. Just click on the button below to join JobsAssist and you will immediately receive the Free eBook with thousands of Interview Questions in an ebook when you join.


    Scripts Related to - Displaying Sub Folders

    Script Name

    Delete Files Online

    Following active server pages code delete a file. Example uses FileSystem object to delete the file. Do not forget to double check permissions for this operation.

    Delete Folders Online

    ASP does not allow you to use IO system to modify on files and folders. But with the help of FileSystem object you can delete any file on your server. Do not forget to double check permissions for this operation.

    read a file

    This is some sample code for reading a file .

    create a file

    Easy code for creating a file

    file information

    This example displays some useful file examples . Last accessed , last modified and when the file was created

    Create a "downloads page"

    An easy example that shows how to build a page with a bunch of downloads if you DO NOT what the users to know the exact path where all of your files are stored. Also learn how to make a downloads counter!

    Copying Files (using File System Object)

    Sometimes you need to copy files to another folder. First you should require to use FSO (File System Object.) CopyFile method of FSO is the simplest way to copy the files. Following sample code will copy some files to another folder.

    Checking Files Exists

    If you want to check a file exists, you may use this code. First we are starting script creating a copy of File System Object. FSO has many useful methods. One of them is 'FileExists' that we will use it now.

    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 to another folder.

    Create a text file using ASP

    Shows how to create a text file using the File Scripting Object.

    Google Search

    Google


    Download Yahoo Messenger | Placement Papers | Free SMS | C Interview Questions | C++ Interview Questions


     Advertisements  

     A D V T

    Jobs & Career
    Freshers Jobs
    Jobs Newsletter
    Placement Papers
    Placement Papers
    GATE Preparation
    Analysis & Design Of Algo.
    Operating System
    Lexical Analysis
    GRE Preparation
    GRE Home
    1208 Antonyms Test
    5000 Word's List
    Top 100 Words' List
    Scholarships
    Top 100 CS Univ.
    Top 126 EE Univ.
    Tutorials
    Hardware Tutorial
    1500 Free eBooks
    XML Tutorial
    Webmaster Resources
    EzTraffic
    Articles
    Fun
    Send FREE SMS!
    SMS Jokes
    Love SMS
    Funny Jokes