Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP DriveType Property

ASP DriveType Property


Drive Object Reference Complete Drive Object Reference Manual


The DriveType property returns a value indicating the type of a drive.

This property can return one of the following values:

Syntax

DriveObject.DriveType

Example

<%

dim fs,d

set fs=Server.CreateObject("Scripting.FileSystemObject")

set d=fs.GetDrive("a:")

Response.Write("The drive type is: " & d.DriveType)

set d=nothing

set fs=nothing

%>

Output:

The drive type is: 1


Drive Object Reference Complete Drive Object Reference Manual