Полезная информация

Microsoft® JScript™
Folder Object
 Language Reference 
Version 3 

See Also                  Properties                  Methods

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

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.