标签: file-io asp-classic
如何在ASP
答案 0 :(得分:0)
<% dim fs set fs=Server.CreateObject("Scripting.FileSystemObject") Response.Write(fs.GetExtensionName("c:\test\test.htm")) set fs=nothing %> Output: htm