X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

ASP VolumeName Property


Drive Object Reference 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
%>


Drive Object Reference Complete Drive Object Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook