|
The VBScript Folder object provides access to all the properties of a folder.
Copies a folder from one location to another. | |
Deletes a folder. | |
Moves a folder from one location to another. | |
Creates a file and returns a TextStream object. |
The attributes of a folder. | |
The date and time a folder was created. | |
The date and time that the folder was last accessed. | |
The date and time that the folder was last modified. | |
The drive letter of the drive on which the folder resides. | |
A Files collection of all File objects in the folder. | |
True if this is the root folder of a drive. | |
The name of the folder. | |
The Folder object for the parent of the folder. | |
The file system path to the folder. | |
The short name used by programs that require 8.3 names. This property is not currently supported on UNIX. | |
The short path used by programs that require 8.3 names. This property is not currently supported on UNIX. | |
The size, in bytes, of all files and subfolders contained in a folder. | |
A Folders collection containing all the folders in a Folder object. |
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 Sub
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.