删除记录的同时删除图片
<P>[quote]</P><P>set fso=server.createobject("scripting.filesystemobject")<BR> path=rs("pic")'图片路径<BR> imgpath=server.mappath(path)<BR> <BR> if fso.fileexists(imgpath)=true then<BR> fso.deletefile imgpath<BR> end if</P>
<P>[/quote]</P> 刚好用上,顶了
页:
[1]