File 物件是用來傳回指定檔案的相關資訊。
若要使用 File 物件的特性和方法,您必須透過 FileSystemObject 物件建立 File 物件的例項。首先,建立 FileSystemObject 物件,然後透過 FileSystemObject 物件的 GetFile 方法或透過 Folder 物件的 Files 特性建立 File 物件。
FileSystemObject
GetFile
Scripting on this page enhances content navigation, but does not change the content in any way.