<% dim fs, f set fs=Server.CreateObject("Scripting.FileSystemObject") set f=fs.GetFile(Server.MapPath("/text/testread.txt")) Response.Write("testread.txt 最后一次修改的时间为:" & f.DateLastModified) set f=nothing set fs=nothing %>
效果会显示在右边 Create by 软晨网(RuanChen.com)