ASP Get File Extension Method
use the GetExtensionName method to get the file extension of the last component in a specified path.
<html>
<body>
<%
Set fs=Server.CreateObject(”Scripting.FileSystemObject”)
Response.Write(”The file extension of the file file1 is: “)
Response.Write(fs.GetExtensionName(”c:\test\file1.mie”))
set fs=nothing
%>
</body>
</html>
