Skip to content
Related Articles

Related Articles

Improve Article
ASP ShareName Property
  • Last Updated : 19 Mar, 2021

The ASP ShareName Property is used to return the network share name of the specified drive.



Example: The below code demonstrates the ASP Drive.ShareName Property.


dim fs,d
set fs=Server.CreateObject("Scripting.FileSystemObject")
'Getting the required drive
set d=fs.GetDrive("d:")
'Getting the share name of the drive
Response.Write("The share name of drive: " & d.ShareName)
set d=nothing
set fs=nothing


The share name of drive: GeeksForGeeks
My Personal Notes arrow_drop_up
Recommended Articles
Page :