set fso = CreateObject("Scripting.FileSystemObject")
photofile="../"&rs("images") //图片路径
filepath=server.mappath(photofile)
if fso.FileExists(filepath)=true then
Set file = fso.GetFile(filepath)
file.delete
end if
set file=nothing
set fso=nothing
asp图片上传以后,如何删除文件夹里的图片
最新推荐文章于 2025-02-19 10:17:01 发布