俺知道删除的路径,俺也知道用FSO 代码也有了...就俺没学过这个,不知道在页面哪里用这段代码。
dim fso,f
set fso = server.CreateObject("scripting.filesystemobject")
f=server.MapPath(记录字段存储的文件名如"\theforever\ok.dat")
if fso.FileExists(f) then
fso.DeleteFile f,true
end if
set f = nothing
set fso = nothing
----------------------------
上面的那段代码是一位好心人给俺发的代码。可俺不知道这段代码放到那去才能实现这个功能