ASP FSO Folder Folders object
The folder object is used to return information about the specified folder.
The Folder object
The folder object is used to return information about the specified folder.
The folder object of the same property and method, you will create an instance through the FileSystemObject object of the Folder object. First, create a folder that uses the FileSystemObject object and then instantiate the object by using the FileSystemObject object of the GetFolder method.
The following code uses the method GetFolder FileSystemObject object Instance Folder object and DateCreated property return date, the specified folder has been created:
<%
Dim FS,FO
Set fs=server.createobject ("Scripting.FileSystemObject")
Set Fo=fs. GetFolder ("C:test")
Response.Write ("Folder created:" & fo. DateCreated)
Set fo=nothing
Set fs=nothing
%>
Output:
Folder created:10/22/2001 10:01:19 AM
Collection
Collection description
folder specified in all files returned by archive collection
The child returns all of the collected subfolders in a specified folder
Performance
Property Description
property to set or return the folder specified by the property
Date and time of DateCreated return when a specified folder is created
datelastaccessed return date and time when a specified folder is last accessed
Date and time of DateLastModified return when a specified folder is last modified
Drives the drive letter returned by the drive specifies the folder where the
IsRootFolder returns True if the root folder of a folder and False if not
Name set or the name returned by the specified folder
ParentFolder returns the specified folder for the parent folder
Path returns the folder specified by the path
ShortName returns the specified folder for the short term name (8.3 naming convention)
ShortPath return short range a specified folder (8.3 naming convention)
Size of the returned size specified folder
Type returns the folder specified by the type
Method
Method description
The folder specified by the replica from one location to another
Delete Deletes the specified folder
Move to a specified folder from one location to another
CreateTextFile creates a new text file in the specified folder and returns the TextStream object to access the file