Microsoft® JScript™ Folder Object |
Language Reference Version 3
|
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, f, s; fs = new ActiveXObject("Scripting.FileSystemObject"); f = fs.GetFolder(folderspec); s = f.DateCreated; window.alert(s); }