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

Microsoft® JScript™
File Object
 Language Reference 
Version 3 

See Also                  Properties                  Methods

Provides access to all the properties of a file.
The following code illustrates how to obtain a File object and how to view one of its properties.
function ShowFileInfo(filespec)
    var fs, file, s;
    fs = new ActiveXObject("Scripting.FileSystemObject");
    file = fs.GetFile(filespec);
    s = file.DateCreated;

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