tutorial pengembangan web terbaru
 

ASP Cara GetFolder


<Object Reference FileSystemObject Lengkap

Metode GetFolder mengembalikan sebuah objek Folder untuk jalan yang ditentukan.

Sintaksis

FileSystemObject.GetFolder(path)

Parameter Deskripsi
path Wajib. Path ke folder tertentu

Sintaksis

<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.GetFolder("c:\test\")
Response.Write("The folder was last modified on: ")
Response.Write(f.DateLastModified)
set f=nothing
set fs=nothing
%>

Output:

The folder was last modified on 01/01/20 4:23:56 AM

<Object Reference FileSystemObject Lengkap