THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

ASP ShareName Property


Drive Object Reference Complete Drive Object Reference

The ShareName property returns the network share name for a specified drive. 

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
%>

Drive Object Reference Complete Drive Object Reference