最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
asp教程:fso 获取的名字父文件夹的指定的路径
时间:2022-06-30 11:43:18 编辑:袖梨 来源:一聚教程网
获取的名字父文件夹的指定的路径
这个例子演示如何使用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