一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

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

转载请注明来自http://www.111com.net/asp/asp.html

热门栏目