源代码:
<% Set fs=Server.CreateObject("Scripting.FileSystemObject") p=fs.GetDriveName("c:winntcursors3dgarro.cur") Response.Write("The drive name is: " & p) set fs=nothing %>
运行结果:
<% Set fs=Server.CreateObject("Scripting.FileSystemObject") p=fs.GetDriveName("c:winntcursors3dgarro.cur") Response.Write("The drive name is: " & p) set fs=nothing %>