fso filesystemobject对象的deletefile函数来实现删除方法简单的下面我们来看看下面的实例吧
我们会利用
function delfile(path)
dim fso
responsewrite(servermappath(path))
responseend
set fso=serverCreateObject("scriptingfilesystemobject")
if fsofileexists(servermappath(path)) then
fsodeletefile(serverMapPath(path))
end if
fsoclose
end function