最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
asp教程:fso 获取的名字父文件夹的指定的路径
时间:2008-10-31 编辑:简简单单 来源:一聚教程网
获取的名字父文件夹的指定的路径
这个例子演示如何使用GetParentFolderName方法得到的名字父文件夹的指定的路径。
下面来看看实例吧.
<%
Set fs=Server.CreateObject("Scripting.FileSystemObject")
p=fs.GetParentFolderName("c:winntcursors3dgarro.cur")
Response.Write("The parent folder name of c:winntcursors3dgarro.cur is: " & p)
set fs=nothing
%>
输出结果.
The parent folder name of c:winntcursors3dgarro.cur is: c:winntcursors
-
上一个: asp教程:fso获取的名称指定的驱动器
-
下一个: asp教程:fso获取的文件扩展名
相关文章
- asp 文件下载代码与获取文件名称 06-02
- asp教程:fso获取的文件扩展名 10-31
- asp教程:利用fso获取文件名和获取文件或文件夹 10-31
- VBS 批量Ping的项目讲解 09-19
- 如何封装一个Ajax函数介绍 09-16
- ASP实现加法验证码方法 09-16