?
This document uses PHP Chinese website manual Release
JScript? | 語言參考 |
提供對(duì)文件所有屬性的訪問。
下面的代碼演示了如何獲得 File 對(duì)象以及如何查看它的一個(gè)屬性。
function ShowFileInfo(filespec) {
???var fso, f, s;
???fso = new ActiveXObject("Scripting.FileSystemObject");
???f = fso.GetFile(filespec);
???s = f.DateCreated;
???return(s);
}
Copy 方法 | Delete 方法 | Move 方法 | OpenAsTextStream 方法
Attributes 屬性 | DateCreated 屬性 | DateLastAccessed 屬性 | DateLastModified 屬性 | Drive 屬性 | Name 屬性 | ParentFolder 屬性 | Path 屬性 | ShortName 屬性 | ShortPath 屬性 | Size 屬性 | Type 屬性
Drive 對(duì)象 | Drives 集合 | Files 集合 | Folder 對(duì)象 | Folders 集合