源代码
<% Set fs=Server.CreateObject("Scripting.FileSystemObject") p=fs.GetDriveName("c:\windows\cursors\abc.cur") Response.Write("驱动器名称是:" & p) set fs=nothing %>
运行结果