<%
sfp=Request("sfp")
dfp=Request("dfp")
%>
<html>
<head>
<title>delete file.asp</title>
</head>
<body>
<%
on error resume next
set fs=server.createobject("Scripting.filesystemobject")
fs.DeleteFile sfp,true
response.write "<CENTER><h1>文件删除成功!</h1></CENTER>"
set fs=nothing
%>
不用我在加注释了吧?!sfp就是你要删除的文件名!