Features
      Ask DevGuru
      ASP Resources
      Find the Bug
      Knowledge Base
      Links
      Tips of the Week
      Tutorials
  Products
      dgCalendar
      dgCharge New!
      dgChart New!
      dgFileUpload
      dgReport New!
      dgSort
      dgTree
  Site
      Authoring
      Coming Soon
      DevGuru Resume
      Link to Us
      Merchandise
      Sponsorships
      Testimonials
      What's New
  Technologies
      ADO 2.6
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      Transact-SQL Syntax
      VBScript
      WML
      WMLScript
      WSH
      XML DOM

              











METHOD:  FileSystemObject.GetFolder

Implemented in version 2.0
 
object.GetFolder (foldername)

This method is used to get the Folder object for the path that you specify. You can than use the new variable containing the folder object to access its various methods and properties. The following code demonstrates this by returning the date the folder was created and displaying the details in the browser.
 
Code:
<%
dim filesys, f
Set filesys = CreateObject("Scripting.FileSystemObject")
Set f = filesys.GetFolder("C:\TestFolder\")
Response.Write ("Your folder was created on " & f.DateCreated)
%>
 
Output:
"Your folder was created on (date created goes here)."


Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information