ASP ShareName Property
Definition and Usage
The ShareName property returns the network shared name of the specified drive.
Note:If the object is not a network drive, the ShareName property returns an empty string ("").
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 %>