<html> <body> <% Set fs=Server.CreateObject("Scripting.FileSystemObject") Response.Write("文件 3dgarro 的文件扩展名是:") Response.Write(fs.GetExtensionName("c:\windows\cursors\abc.cur")) set fs=nothing %> </body> </html>
<% Set fs=Server.CreateObject("Scripting.FileSystemObject") Response.Write("文件 3dgarro 的文件扩展名是:") Response.Write(fs.GetExtensionName("c:\windows\cursors\abc.cur")) set fs=nothing %>