ASP ShareName Property Last Updated : 19 Mar, 2021 Comments Improve Suggest changes Like Article Like Report The ASP ShareName Property is used to return the network share name of the specified drive. Syntax: DriveObject.ShareName Example: The below code demonstrates the ASP Drive.ShareName Property. ASP <% 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 %> Output The share name of drive: GeeksForGeeks Comment More infoAdvertise with us Next Article ASP Name Property M manaschhabra2 Follow Improve Article Tags : Websites & Apps ASP-Methods ASP-Basics Similar Reads ASP ShortName Property The ASP ShortName Property is used to get the short name of the specified file or folder on the system. Syntax: For File Object: FileObject.ShortName For Folder Object: FolderObject.ShortName The below examples illustrate the ASP ShortName Property. Example 1: The below code illustrates the ASP File 1 min read ASP VolumeName Property The ASP VolumeName Property is used for setting or returning the volume name of the specified drive. Syntax: DriveObject.VolumeName[=newname] Parameters: This property has a single parameter as mentioned above and described below: newname: It specifies the new name that has to be set for the drive. 1 min read ASP ShortPath Property The ASP ShortPath Property is used to return the short path for the specified file or folder. Syntax: For File Object: FileObject.ShortPath For Folder Object: FolderObject.ShortPath The below examples demonstrate the ASP ShortPath Property. Example 1: The below code illustrates the ASP File.ShortPat 1 min read ASP Name Property The ASP Name Property is used for returning and setting the name of a specified file or Folder. Syntax:For File Object:FileObject.Name[=newname]For Folder Object: FolderObject.Name[=newname] Parameter Values:newname: It is an optional attribute. It specifies the new name of the file or folder.Exampl 1 min read ASP Name Property The ASP Name Property is used for returning and setting the name of a specified file or Folder. Syntax:For File Object:FileObject.Name[=newname]For Folder Object: FolderObject.Name[=newname] Parameter Values:newname: It is an optional attribute. It specifies the new name of the file or folder.Exampl 1 min read ASP Path Property The ASP Path Property is used to get the complete path for a specified file, folder, or drive on the system. Syntax: For File Object FileObject.Path For Folder Object: FolderObject.Path For Drive Object: DriveObject.Path The below examples demonstrate the ASP Path Property. Example 1: The below code 1 min read Like