ASP Get the drive type of a specified drive

Get the drive type of a specified drive

<html>
<body>

<%
dim fs, d, n
set fs=Server.CreateObject("Scripting.FileSystemObject")
set d=fs.GetDrive("c:")
Response.Write("Drive type: " & d.DriveType)
set d=nothing
set fs=nothing
%>

</body>
</html>