Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
THE WORLD'S LARGEST WEB DEVELOPER SITE

ASP ShareName Property


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

❮ Complete Drive Object Reference