源代码:
<% Set fs=Server.CreateObject("Scripting.FileSystemObject") Response.Write("The file extension of the file 3dgarro is: ") Response.Write(fs.GetExtensionName("c:winntcursors3dgarro.cur")) set fs=nothing %>
运行结果:
<% Set fs=Server.CreateObject("Scripting.FileSystemObject") Response.Write("The file extension of the file 3dgarro is: ") Response.Write(fs.GetExtensionName("c:winntcursors3dgarro.cur")) set fs=nothing %>