最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
asp 删除图片与文件函数
时间:2022-07-02 22:35:43 编辑:袖梨 来源:一聚教程网
fso filesystemobject对象的deletefile函数来实现删除,方法简单的,下面我们来看看下面的实例吧。
我们会利用
function delfile(path)
dim fso
response.write(server.mappath(path))
response.end
set fso=server.CreateObject("scripting.filesystemobject")
if fso.fileexists(server.mappath(path)) then
fso.deletefile(server.MapPath(path))
end if
fso.close
end function
相关文章
- 龙腾世纪4影障守护者明拉索斯之影任务攻略 11-02
- 三国志8重制版军师计略使用方法分享 11-02
- 形容领导工作辛苦的话 11-02
- 三国志8重制版黄忠奇才使用方法分享 11-02
- 三国志8重制版旅人具体作用介绍说明 11-02
- 三国志8重制版武名提升方法攻略分享 11-02