当前位置: 首页 > 网络学院 > 服务端脚本教程 > ASP > ASP ShareName 属性

ASP
ASP 介绍
ASP Install
ASP 语法
ASP 变量
ASP Procedures
ASP Forms
ASP Cookies
ASP Session
ASP Application
ASP #include
ASP Global.asa
ASP Send e-mail
ASP Response
ASP Request
ASP Application
ASP Session
ASP Server
ASP Error
ASP FileSystem
ASP TextStream

ASP ShareName 属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 271 ::
收藏到网摘: n/a

The ShareName property returns the network share name for a specified drive. 
ASP ShareName属性的作用时返回指定驱动器内网络共享文件夹名称。

Syntax
语法

DriveObject.ShareName

Example
举例

<%
dim fs,d
set fs=Server.CreateObject("Scripting.FileSystemObject")
set d=fs.GetDrive("c:")
Response.Write("The sharename is: " & d.ShareName)
set d=nothing
set fs=nothing
%>

评论 (0) All

登陆 | 还没注册?