ASP Get the name of a specified drive
Get the name of a specified drive
<html>
<body>
<%
Set fs=Server.CreateObject("Scripting.FileSystemObject")
p=fs.GetDriveName("c:\test\file.txt")
Response.Write("Drive name: " & p)
set fs=nothing
%>
</body>
</html>