当前位置: 首页 > 网络学院 > 服务端脚本教程 > ASP > ASP GetFolder 方法
The GetFolder method returns a Folder object for the specified path.
ASP GetFolder的作用是返回指定路径下的一个文件。
| FileSystemObject.GetFolder(path) |
| Parameter参数 | Description描述 |
|---|---|
| path | Required. The path to a specific folder 必要组件。设置指定的文件夹路径 |
<%
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 |
评论 (0) All