Menu
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY AWS CYBERSECURITY DATA SCIENCE
     ❯   

ASP VolumeName Property


❮ Complete Drive Object Reference

The VolumeName property sets or returns the volume name of a specified drive.


Syntax

DriveObject.VolumeName[=newname]

Parameter Description
newname Optional. Sets the new name of the specified drive

Example

<%
dim fs,d
set fs=Server.CreateObject("Scripting.FileSystemObject")
set d=fs.GetDrive("c:")
Response.Write("The volume name is: " & d.VolumeName)
set d=nothing
set fs=nothing
%>

❮ Complete Drive Object Reference