<html> <body> <% Set fs=Server.CreateObject("Scripting.FileSystemObject") Response.Write("The file name of the last component is: ") Response.Write(fs.GetFileName("c:\winnt\cursors\3dgarro.cur")) set fs=nothing %> </body> </html>
<% Set fs=Server.CreateObject("Scripting.FileSystemObject") Response.Write("The file name of the last component is: ") Response.Write(fs.GetFileName("c:\winnt\cursors\3dgarro.cur")) set fs=nothing %>