ASP Get file extension

Get file extension

<html>
<body>

<%
Set fs=Server.CreateObject("Scripting.FileSystemObject")

Response.Write(fs.GetExtensionName("c:\test.txt"))

set fs=nothing
%>

</body>
</html>