THE WORLD'S LARGEST WEB DEVELOPER SITE

ASP SerialNumber Property


Drive Object Reference Complete Drive Object Reference

The SerialNumber property returns the serial number of a specified drive.

Syntax

DriveObject.SerialNumber

Example

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

Output:

The serial number is: 474680516

Drive Object Reference Complete Drive Object Reference

COLOR PICKER

colorpicker

SHARE THIS PAGE






Search w3schools.com:

Translate w3schools.com: