案例:ASP/ADO案例     状态:不可编辑再运行    进入竖版
 运行结果 
x
 
1
2
<html>
3
<body>
4
5
<%
6
Set fs=Server.CreateObject("Scripting.FileSystemObject")
7
8
Response.Write("这个文件名的最后一个成分是:")
9
Response.Write(fs.GetFileName("c:\windows\cursors\abc.cur"))
10
set fs=nothing
11
%>
12
13
14
</body>
15
</html>
16