Folder Object

Microsoft Office JScript

Microsoft® JScript® Folder Object  Scripting Run-Time Reference 
Version 3 

See Also                  Properties                  Methods


Description
Provides access to all the properties of a folder.
Remarks
The following code illustrates how to obtain a Folder object and how to return one of its properties:
function ShowFolderInfo(folderspec)
{
  var fso, folder, s;
  fso = new ActiveXObject("Scripting.FileSystemObject");
  folder = fso.GetFolder(folderspec);
  s = folder.DateCreated;
  return(s);
}