Learnthat.com Free Certification and Computer Online Courses
ThatNetwork.com Internet Media Network Givethat.com free gift ideas Definethat.com - Free technical definitions, define Free Romance Tips, Romantic Tips, Date Ideas Free POD publisher comparison print on demand
Learnthat.com Free A+ Certification, Computer Classes, Certification Courses, Business, Lifestyle, ApplicationsFree business tutorials and definitionsFree certification tutorials and definitionsFree computer and technical tutorials and technical definitionsFree Finance Tutorials and DefinitionsFree House Repair TutorialsFree Lifestyle and Fun Tutorials
  All Online CoursesNew Courses QuickTipsWord DefinitionsSubmit a TutorialLinks
÷ Resources
Home
free tech tutorials
Free Tutorials
free tech tutorials
Certifications
free tech tutorials
Definitions
free tech tutorials
Resources/Links
free tech tutorials
Forums
free tech tutorials
Distance Education
free tech tutorials
Highest Rated Tutorials
÷ Popular Tutorials
÷ New Tutorials

Active Server Pages (ASP)

 

The Folder Object

You use the Folder object to return information about folders on the server, and to copy, move and delete folders as necessary.

Folder Object: Methods

Copy

Copies a folder from one location to another.

Delete

Deletes a folder.

Move

Moves a folder from one location to another.

CreateTextFile

Creates a text file in the specified folder using an instance of the TextStream object.


Folder Object: Properties

Attributes

Specifies or returns attributes of the specified folder.

DateCreated

Returns the date and time a folder was created.

DateLastAccessed

Returns the date and time a folder was last accessed.

DateLastModified

Returns the date and time a folder was last modified.

Drive

Returns the letter of the drive where a specified folder resides.

IsRootFolder

Is "true" if the folder is a root folder.

Name

Specifies or returns the name of a folder.

ParentFolder

Returns the parent folder.

Path

Returns the path for a folder.

ShortName

Returns the short name of a folder.

ShortPath

Returns the short path of a folder.

Size

Returns the size of a folder.

Type

Returns the type of a folder.

The following code displays the date the archives folder was last accessed:

<%

Dim varFileSystem,varFolder

Set varFileSystem=Server.CreateObject("Scripting.FileSystemObject")

Set varFolder=varFileSystem.GetFolder("c:\archives")

Response.Write(varFolder.DateLastAccessed)

Set varFolder=nothing

Set varFileSystem=nothing

%>

 

 

by Summer Doucet

Find more free Internet tutorials from Learnthat.com.

More Information:

Help us by rating this tutorial: [---] [--] [+] [++] [+++]
[---] lowest; [+++] highest

 

 

 


Learn: Free Tutorials - Links to Free Tutorials
Understand: Free Technical Definitions - ExplainThat Whitepapers
Use: Certification Section - Discussion Forum

Visit Our Network Sites:

DefineThat.com Technical Defintions Romancetips.com
Free Gift Ideas - GiveThat Planthat.com Free Unique Business Ideas
PublishOnDemand.net - Learn about Print on Demand (POD) - Self Publishing Seekthat.com - Technical Search Engine
ThatNetwork.com  

About Us : Contact Us : Advertise : Privacy Information

© 1998-2004 Learnthat.com