Microsoft® JScript® Folder Object |
Scripting Run-Time Reference Version 3 |
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); }