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

最新下载

热门教程

asp教程:fso获取的名称指定的驱动器

时间:2008-10-31 编辑:简简单单 来源:一聚教程网

asp教程:fso获取的名称指定的驱动器

这个例子演示如何使用GetDriveName方法获取的名称指定的驱动器。


<%
Set fs=Server.CreateObject("Scripting.FileSystemObject")
p=fs.GetDriveName("c:winntcursors3dgarro.cur")

Response.Write("The drive name is: " & p)

set fs=nothing
%>


结果为.

The drive name is: c:

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

热门栏目