源代码
<% Set fs=Server.CreateObject("Scripting.FileSystemObject") Response.Write("文件 3dgarro 的文件扩展名是:") Response.Write(fs.GetExtensionName("c:\windows\cursors\abc.cur")) set fs=nothing %>
运行结果