![]() |
![]() |
|||||||||||||||||||||||||||||||||||
|
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 file and returns a TextStream object. |
Property
Attributes |
The attributes of a folder. |
DateCreated |
The date and time a folder was created. |
DateLastAccessed |
The date and time that the folder was last accessed. |
DateLastModified |
The date and time that the folder was last modified. |
Drive |
The drive letter of the drive on which the folder resides. |
Files |
A Files collection of all File objects in the folder. |
IsRootFolder |
True if this is the root folder of a drive. |
Name |
The name of the folder. |
ParentFolder |
The Folder object for the parent of the folder. |
Path |
The file system path to the folder. |
ShortName |
The short name used by programs that require 8.3 names. This property is not currently supported on UNIX. |
ShortPath |
The short path used by programs that require 8.3 names. This property is not currently supported on UNIX. |
Size |
The size, in bytes, of all files and subfolders contained in a folder. |
SubFolders |
A Folders collection containing all the folders in a Folder object. |
Remarks
The following code illustrates how to obtain a Folder object and how to return one of its properties:Sub ShowFolderInfo(folderspec)
Dim fs, f, s,
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFolder(folderspec)
s = f.DateCreated
Response.Write s
End SubCopyright © 2000 Chili!Soft