DriveType 属性返回一个指示驱动器类型的值。
此属性可返回下列值之一:
DriveObject.DriveType
<%
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
%>
输出:
The drive type is: 1