Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
THE WORLD'S LARGEST WEB DEVELOPER SITE

ASP GetFolder Method


❮ Complete FileSystemObject Object Reference

The GetFolder method returns a Folder object for the specified path.

Syntax

FileSystemObject.GetFolder(path)

Parameter Description
path Required. The path to a specific folder

Syntax

<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.GetFolder("c:\test\")
Response.Write("The folder was last modified on: ")
Response.Write(f.DateLastModified)
set f=nothing
set fs=nothing
%>

Output:

The folder was last modified on 01/01/20 4:23:56 AM

❮ Complete FileSystemObject Object Reference